diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-30 13:19:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-30 13:19:37 +0000 |
commit | e5b5cce442f6fdaccf86064657518a5d0404f78e (patch) | |
tree | b05d182fcea895cdf3207547e52dd827689fbfea /target | |
parent | 83b62a56db39cf7053b92bf014490b84f7febc80 (diff) | |
download | mtk-20170518-e5b5cce442f6fdaccf86064657518a5d0404f78e.zip mtk-20170518-e5b5cce442f6fdaccf86064657518a5d0404f78e.tar.gz mtk-20170518-e5b5cce442f6fdaccf86064657518a5d0404f78e.tar.bz2 |
ar71xx: fix a few include errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48562
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/leds/leds-nu801.c | 2 |
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 |