Extend support for AHB to Linux 2.6.15 and newer
authorPavel Roskin <proski@gnu.org>
Wed, 13 Nov 2013 21:38:57 +0000 (16:38 -0500)
committerPavel Roskin <proski@gnu.org>
Wed, 13 Nov 2013 21:52:29 +0000 (16:52 -0500)
Linux 2.6.15 introduces platform_driver_register() that if_ath_ahb.c is
using.

INSTALL
ath/if_ath_ahb.c

diff --git a/INSTALL b/INSTALL
index 8c05d7e5898ffd54b86fbcf2a99a235c5447f22a..25846f23307325536ae08d08b746005c462ab664 100644 (file)
--- 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.
index 072cfa2b7aa3e15794402630a914f1e73042bef8..7fa185db477f7e1210fc448a54f65e53f0df764c 100644 (file)
@@ -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
 
 /*