diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2012-11-18 21:27:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2012-11-18 21:27:00 +0000 |
commit | a47fb21bf8c4966ecf91bb46d1f358ca26525490 (patch) | |
tree | d1a20abbae49e7458f91a4eaa274b55f142ab1ff /package/broadcom-wl | |
parent | 43c79d519d60b35c426af2451f51b48fcc1698aa (diff) | |
download | upstream-a47fb21bf8c4966ecf91bb46d1f358ca26525490.tar.gz upstream-a47fb21bf8c4966ecf91bb46d1f358ca26525490.tar.bz2 upstream-a47fb21bf8c4966ecf91bb46d1f358ca26525490.zip |
brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r-- | package/broadcom-wl/patches/011-fix_compile_3_4.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/broadcom-wl/patches/011-fix_compile_3_4.patch b/package/broadcom-wl/patches/011-fix_compile_3_4.patch new file mode 100644 index 0000000000..585d53c7df --- /dev/null +++ b/package/broadcom-wl/patches/011-fix_compile_3_4.patch @@ -0,0 +1,12 @@ +--- a/driver/wl_linux.c ++++ b/driver/wl_linux.c +@@ -49,7 +49,9 @@ + #include <linux/ieee80211.h> + #endif + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) + #include <asm/system.h> ++#endif + #include <asm/io.h> + #include <asm/irq.h> + #include <asm/pgtable.h> |