compile fixes for kernel 2.6.34
SVN-Revision: 21829
This commit is contained in:
parent
27e4cb3628
commit
247b1ff93e
22
package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch
Normal file
22
package/broadcom-wl/patches/001-kernel-2.6.34_compat.patch
Normal file
@ -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>
|
10
package/compcache/patches/002-kernel-2.6.34-compat.patch
Normal file
10
package/compcache/patches/002-kernel-2.6.34-compat.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/ramzswap_drv.c
|
||||
+++ b/ramzswap_drv.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/genhd.h>
|
||||
#include <linux/highmem.h>
|
||||
+#include <linux/slab.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/swapops.h>
|
Loading…
Reference in New Issue
Block a user