From b4b3537c7f12b6bc7d65044444aa3fac363b79be Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 17 Jun 2010 19:29:57 +0000 Subject: compile fixes for kernel 2.6.34 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21829 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/001-kernel-2.6.34_compat.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch (limited to 'package/broadcom-wl') 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 0000000000..1ca362675b --- /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 + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)) + #include +-#else ++#elif (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)) + #include ++#else ++#include + #endif + #include + +@@ -111,7 +113,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, v + + #if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) + +-#include + #include + #include + #include -- cgit v1.2.3