aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
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
commite5b5cce442f6fdaccf86064657518a5d0404f78e (patch)
treeb05d182fcea895cdf3207547e52dd827689fbfea /target/linux/ar71xx/files
parent83b62a56db39cf7053b92bf014490b84f7febc80 (diff)
downloadupstream-e5b5cce442f6fdaccf86064657518a5d0404f78e.tar.gz
upstream-e5b5cce442f6fdaccf86064657518a5d0404f78e.tar.bz2
upstream-e5b5cce442f6fdaccf86064657518a5d0404f78e.zip
ar71xx: fix a few include errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48562
Diffstat (limited to 'target/linux/ar71xx/files')
-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