openwrt/target/linux/ramips/patches-2.6.34/105-slab.patch
2010-05-26 15:53:05 +00:00

20 lines
717 B
Diff

--- 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>