summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-06-07 09:18:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-06-07 09:18:13 +0000
commit90e2b1ad6bc0f5cbaf77a6c86c883c7c99415c1e (patch)
treeac1fb73ac23f224a3b06c0c0e29dadae42e0792e /target
parent84f6a9c5a14ff4887411a02f6c97687e55902b5e (diff)
downloadmtk-20170518-90e2b1ad6bc0f5cbaf77a6c86c883c7c99415c1e.zip
mtk-20170518-90e2b1ad6bc0f5cbaf77a6c86c883c7c99415c1e.tar.gz
mtk-20170518-90e2b1ad6bc0f5cbaf77a6c86c883c7c99415c1e.tar.bz2
ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
Diffstat (limited to 'target')
-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
-rw-r--r--target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c1
3 files changed, 3 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 df7416d..85ba33e 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 7066ddc..0fb8c6d 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"
diff --git a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
index b4f1662..0c2d30e 100644
--- a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
+++ b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c
@@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gpio.h>
+#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/nxp_74hc153.h>