From 56076e4f264ff048bfc7d5fa2b6a4fcc5457f7a9 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 13 Nov 2013 16:38:57 -0500 Subject: [PATCH] Extend support for AHB to Linux 2.6.15 and newer Linux 2.6.15 introduces platform_driver_register() that if_ath_ahb.c is using. --- INSTALL | 2 +- ath/if_ath_ahb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 8c05d7e..25846f2 100644 --- a/INSTALL +++ b/INSTALL @@ -32,7 +32,7 @@ Linux kernels starting with version 2.6.13 should work without problems. Due to quick pace of Linux development, there is no way compatibility with the future 2.6 kernels can be ensured. However, the latest 2.6 kernel at the time of the release should be expected to work. For AHB -support, Linux 2.6.19 or newer is required. +support, Linux 2.6.15 or newer is required. Automatic module loading support (CONFIG_KMOD) is highly recommended; otherwise, you'll need to load all required modules manually. diff --git a/ath/if_ath_ahb.c b/ath/if_ath_ahb.c index 072cfa2..7fa185d 100644 --- a/ath/if_ath_ahb.c +++ b/ath/if_ath_ahb.c @@ -34,8 +34,8 @@ #include "if_ath_ahb.h" #include "ah_soc.h" -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) -#error "Kernel versions older than 2.6.19 are not supported!" +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) +#error "Kernel versions older than 2.6.15 are not supported!" #endif /* -- 2.35.1