diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:01:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:01:50 +0000 |
commit | 7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a (patch) | |
tree | bebe27070010ea2964ba04cc2b9a552487c72cb4 /target/linux/atheros/patches-3.18/108-ar2315_gpio.patch | |
parent | 1b5b20e51e290e58cc28a9a7cfb72178c0c10614 (diff) | |
download | upstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.tar.gz upstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.tar.bz2 upstream-7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a.zip |
atheros: v3.18: cleanup includes
Remove odd and add missed includes.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44730
Diffstat (limited to 'target/linux/atheros/patches-3.18/108-ar2315_gpio.patch')
-rw-r--r-- | target/linux/atheros/patches-3.18/108-ar2315_gpio.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch b/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch index 187e5a6bd5..dbc22e81b8 100644 --- a/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch +++ b/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch @@ -10,16 +10,16 @@ config PCI_AR2315 --- a/arch/mips/ath25/ar2315.c +++ b/arch/mips/ath25/ar2315.c -@@ -24,6 +24,8 @@ - #include <linux/bitops.h> - #include <linux/irqdomain.h> +@@ -21,6 +21,8 @@ + #include <linux/interrupt.h> + #include <linux/platform_device.h> #include <linux/reboot.h> +#include <linux/delay.h> +#include <linux/gpio.h> #include <asm/bootinfo.h> #include <asm/reboot.h> #include <asm/time.h> -@@ -172,11 +174,42 @@ void __init ar2315_arch_init_irq(void) +@@ -167,11 +169,42 @@ void __init ar2315_arch_init_irq(void) ar2315_misc_irq_domain = domain; } @@ -62,7 +62,7 @@ ath25_add_wmac(0, AR2315_WLAN0_BASE, AR2315_IRQ_WLAN0); } -@@ -192,8 +225,8 @@ static void ar2315_restart(char *command +@@ -187,8 +220,8 @@ static void ar2315_restart(char *command /* Cold reset does not work on the AR2315/6, use the GPIO reset bits * a workaround. Give it some time to attempt a gpio based hardware * reset (atheros reference design workaround) */ @@ -337,9 +337,9 @@ +subsys_initcall(ar2315_gpio_init); --- a/arch/mips/ath25/devices.h +++ b/arch/mips/ath25/devices.h -@@ -1,6 +1,11 @@ - #ifndef __ATH25_DEVICES_H - #define __ATH25_DEVICES_H +@@ -3,6 +3,11 @@ + + #include <linux/cpu.h> +#define AR231X_GPIO_IRQ_BASE 0x30 + |