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 | e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9 (patch) | |
tree | 7e3ae4575ed3b2aa464406977c7d64926aca1805 /target/linux/atheros/patches-3.18/108-ar2315_gpio.patch | |
parent | bc135de0a65842449f6296d003472db597cad9a8 (diff) | |
download | master-187ad058-e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9.tar.gz master-187ad058-e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9.tar.bz2 master-187ad058-e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9.zip |
atheros: v3.18: cleanup includes
Remove odd and add missed includes.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44730 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 + |