Openwrt/target/linux/ramips/patches-2.6.34/105-slab.patch

21 lines
501 B
Diff
Raw Normal View History

--- a/arch/mips/ralink/common/dev-gpio-buttons.c
+++ b/arch/mips/ralink/common/dev-gpio-buttons.c
@@ -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>
--- a/arch/mips/ralink/common/dev-gpio-leds.c
+++ b/arch/mips/ralink/common/dev-gpio-leds.c
@@ -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>