summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx')
-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 fbe1f99..d55d542 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 0dfc015..f04df61 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