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.
This commit is contained in:
Pavel Roskin 2013-11-13 16:38:57 -05:00
parent e731eb9ab4
commit 56076e4f26
2 changed files with 3 additions and 3 deletions

View File

@ -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 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 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 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; Automatic module loading support (CONFIG_KMOD) is highly recommended;
otherwise, you'll need to load all required modules manually. otherwise, you'll need to load all required modules manually.

View File

@ -34,8 +34,8 @@
#include "if_ath_ahb.h" #include "if_ath_ahb.h"
#include "ah_soc.h" #include "ah_soc.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
#error "Kernel versions older than 2.6.19 are not supported!" #error "Kernel versions older than 2.6.15 are not supported!"
#endif #endif
/* /*