summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-2.6.34/105-slab.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-2.6.34/105-slab.patch')
-rw-r--r--target/linux/ramips/patches-2.6.34/105-slab.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-2.6.34/105-slab.patch b/target/linux/ramips/patches-2.6.34/105-slab.patch
new file mode 100644
index 0000000000..8b4c8dc9b0
--- /dev/null
+++ b/target/linux/ramips/patches-2.6.34/105-slab.patch
@@ -0,0 +1,19 @@
+--- linux-2.6.34.orig/arch/mips/ralink/common/dev-gpio-buttons.c 2010-05-21 09:59:26.000000000 +0400
++++ linux-2.6.34/arch/mips/ralink/common/dev-gpio-buttons.c 2010-05-21 10:00:05.000000000 +0400
+@@ -10,6 +10,7 @@
+
+ #include "linux/init.h"
+ #include <linux/platform_device.h>
++#include <linux/slab.h>
+
+ #include <asm/mach-ralink/dev-gpio-buttons.h>
+
+--- linux-2.6.34.orig/arch/mips/ralink/common/dev-gpio-leds.c 2010-05-21 09:59:22.000000000 +0400
++++ linux-2.6.34/arch/mips/ralink/common/dev-gpio-leds.c 2010-05-21 09:59:44.000000000 +0400
+@@ -10,6 +10,7 @@
+
+ #include <linux/init.h>
+ #include <linux/platform_device.h>
++#include <linux/slab.h>
+
+ #include <asm/mach-ralink/dev-gpio-leds.h>