aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-30 13:19:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-30 13:19:37 +0000
commit396b2efaf57498e67231d65bd34205cbe6c647df (patch)
treeb85c214df824ef5298bf6efc5d3837008f84e4aa
parent2f49f009b08dd079abc4b8110b6fb29ac302167e (diff)
downloadmaster-187ad058-396b2efaf57498e67231d65bd34205cbe6c647df.tar.gz
master-187ad058-396b2efaf57498e67231d65bd34205cbe6c647df.tar.bz2
master-187ad058-396b2efaf57498e67231d65bd34205cbe6c647df.zip
ar71xx: fix a few include errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48562 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c3
-rw-r--r--target/linux/ar71xx/files/drivers/leds/leds-nu801.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
index fbe1f99c79..d55d542c99 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
@@ -19,9 +19,8 @@
#include "machtypes.h"
#include <asm/mach-ath79/ar71xx_regs.h>
#include <asm/mach-ath79/ath79.h>
+#include <linux/gpio.h>
#include "common.h"
-#include "gpio.h"
-#include "linux/gpio.h"
// Uncomment to have reset on gpio18 instead of gipo7
#define DS2_B
diff --git a/target/linux/ar71xx/files/drivers/leds/leds-nu801.c b/target/linux/ar71xx/files/drivers/leds/leds-nu801.c
index 0dfc015653..f04df61c04 100644
--- a/target/linux/ar71xx/files/drivers/leds/leds-nu801.c
+++ b/target/linux/ar71xx/files/drivers/leds/leds-nu801.c
@@ -20,7 +20,7 @@
#include <linux/delay.h>
#include <linux/leds-nu801.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
#include <linux/of_gpio.h>
#define MAX_NAME_LENGTH 24