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/330-board_leds.patch | |
parent | bc135de0a65842449f6296d003472db597cad9a8 (diff) | |
download | upstream-e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9.tar.gz upstream-e6f4883929fa4ebd702e5f91e7cfc5c7ec16dce9.tar.bz2 upstream-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/330-board_leds.patch')
-rw-r--r-- | target/linux/atheros/patches-3.18/330-board_leds.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/atheros/patches-3.18/330-board_leds.patch b/target/linux/atheros/patches-3.18/330-board_leds.patch index d069595d12..e357fc6a64 100644 --- a/target/linux/atheros/patches-3.18/330-board_leds.patch +++ b/target/linux/atheros/patches-3.18/330-board_leds.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath25/ar2315.c +++ b/arch/mips/ath25/ar2315.c -@@ -26,6 +26,7 @@ +@@ -23,6 +23,7 @@ #include <linux/reboot.h> #include <linux/delay.h> #include <linux/gpio.h> @@ -8,7 +8,7 @@ #include <asm/bootinfo.h> #include <asm/reboot.h> #include <asm/time.h> -@@ -265,6 +266,50 @@ static struct platform_device ar2315_spi +@@ -260,6 +261,50 @@ static struct platform_device ar2315_spi .num_resources = ARRAY_SIZE(ar2315_spiflash_res) }; @@ -59,7 +59,7 @@ void __init ar2315_init_devices(void) { /* Find board configuration */ -@@ -275,6 +320,8 @@ void __init ar2315_init_devices(void) +@@ -270,6 +315,8 @@ void __init ar2315_init_devices(void) ar2315_gpio_res[1].end = ar2315_gpio_res[1].start; platform_device_register(&ar2315_gpio); @@ -70,15 +70,15 @@ ar2315_wdt_res[1].end = ar2315_wdt_res[1].start; --- a/arch/mips/ath25/ar5312.c +++ b/arch/mips/ath25/ar5312.c -@@ -26,6 +26,7 @@ - #include <linux/irqdomain.h> +@@ -23,6 +23,7 @@ + #include <linux/mtd/physmap.h> #include <linux/reboot.h> #include <linux/gpio.h> +#include <linux/leds.h> #include <asm/bootinfo.h> #include <asm/reboot.h> #include <asm/time.h> -@@ -236,6 +237,23 @@ static struct platform_device ar5312_gpi +@@ -231,6 +232,23 @@ static struct platform_device ar5312_gpi .num_resources = ARRAY_SIZE(ar5312_gpio_res), }; @@ -102,7 +102,7 @@ static void __init ar5312_flash_init(void) { void __iomem *flashctl_base; -@@ -306,6 +324,11 @@ void __init ar5312_init_devices(void) +@@ -301,6 +319,11 @@ void __init ar5312_init_devices(void) platform_device_register(&ar5312_gpio); |