aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/330-board_leds.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-13 03:01:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-13 03:01:50 +0000
commit7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a (patch)
treebebe27070010ea2964ba04cc2b9a552487c72cb4 /target/linux/atheros/patches-3.18/330-board_leds.patch
parent1b5b20e51e290e58cc28a9a7cfb72178c0c10614 (diff)
downloadupstream-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/330-board_leds.patch')
-rw-r--r--target/linux/atheros/patches-3.18/330-board_leds.patch14
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);