From: Hauke Mehrtens Date: Thu, 17 Jun 2010 19:29:57 +0000 (+0000) Subject: compile fixes for kernel 2.6.34 X-Git-Tag: reboot~19608 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=247b1ff93e7bf0eaf41201d98ad3d3a077a120c4;p=oweals%2Fopenwrt.git compile fixes for kernel 2.6.34 SVN-Revision: 21829 --- 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 diff --git a/package/compcache/patches/002-kernel-2.6.34-compat.patch b/package/compcache/patches/002-kernel-2.6.34-compat.patch new file mode 100644 index 0000000000..5cd8129f80 --- /dev/null +++ b/package/compcache/patches/002-kernel-2.6.34-compat.patch @@ -0,0 +1,10 @@ +--- a/ramzswap_drv.c ++++ b/ramzswap_drv.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include