diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-06-17 19:29:57 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-06-17 19:29:57 +0000 |
commit | b4b3537c7f12b6bc7d65044444aa3fac363b79be (patch) | |
tree | 43abd086673821c1e1fd9b3afadec0a2b1cc78a3 /package/broadcom-wl | |
parent | 16fbdff13fe71129287aad61ab4e73317e592654 (diff) |
compile fixes for kernel 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21829 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r-- | package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch b/package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch new file mode 100644 index 000000000..1ca362675 --- /dev/null +++ b/package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch @@ -0,0 +1,22 @@ +--- a/driver/include/linuxver.h ++++ b/driver/include/linuxver.h +@@ -19,8 +19,10 @@ + #include <linux/version.h> + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)) + #include <linux/config.h> +-#else ++#elif (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)) + #include <linux/autoconf.h> ++#else ++#include <generated/autoconf.h> + #endif + #include <linux/module.h> + +@@ -111,7 +113,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, v + + #if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) + +-#include <pcmcia/version.h> + #include <pcmcia/cs_types.h> + #include <pcmcia/cs.h> + #include <pcmcia/cistpl.h> |