summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-07 09:18:13 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-07 09:18:13 +0000
commitc2a2341e50ef9938d437f697943a6a222753e1aa (patch)
tree8cac2a10d1eb39530b1832164d5c8351f19a891e /target/linux/ar71xx/files/arch/mips
parentcd42787458d162fc790fa84475e091071c523267 (diff)
ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c1
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c
index df7416de1..85ba33e50 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c
@@ -10,6 +10,7 @@
*/
#include "linux/init.h"
+#include "linux/slab.h"
#include <linux/platform_device.h>
#include "dev-gpio-buttons.h"
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c
index 7066ddc01..0fb8c6db6 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c
@@ -12,6 +12,7 @@
*/
#include <linux/init.h>
+#include <linux/slab.h>
#include <linux/platform_device.h>
#include "dev-leds-gpio.h"