projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
atheros: v3.18: cleanup includes
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
atheros
/
patches-3.18
/
330-board_leds.patch
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 d069595d12cb1858b12a865106e5f30e649c20b3..e357fc6a645e688b0da54137c22b95c586928d67 100644
(file)
--- 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
--- a/arch/mips/ath25/ar2315.c
+++ b/arch/mips/ath25/ar2315.c
-@@ -2
6,6 +26
,7 @@
+@@ -2
3,6 +23
,7 @@
#include <linux/reboot.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#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>
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/time.h>
-@@ -26
5,6 +266
,50 @@ static struct platform_device ar2315_spi
+@@ -26
0,6 +261
,50 @@ static struct platform_device ar2315_spi
.num_resources = ARRAY_SIZE(ar2315_spiflash_res)
};
.num_resources = ARRAY_SIZE(ar2315_spiflash_res)
};
@@
-59,7
+59,7
@@
void __init ar2315_init_devices(void)
{
/* Find board configuration */
void __init ar2315_init_devices(void)
{
/* Find board configuration */
-@@ -27
5,6 +320
,8 @@ void __init ar2315_init_devices(void)
+@@ -27
0,6 +315
,8 @@ void __init ar2315_init_devices(void)
ar2315_gpio_res[1].end = ar2315_gpio_res[1].start;
platform_device_register(&ar2315_gpio);
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
ar2315_wdt_res[1].end = ar2315_wdt_res[1].start;
--- a/arch/mips/ath25/ar5312.c
+++ b/arch/mips/ath25/ar5312.c
-@@ -2
6,6 +26
,7 @@
- #include <linux/
irqdomain
.h>
+@@ -2
3,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>
#include <linux/reboot.h>
#include <linux/gpio.h>
+#include <linux/leds.h>
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/time.h>
-@@ -23
6,6 +237
,23 @@ static struct platform_device ar5312_gpi
+@@ -23
1,6 +232
,23 @@ static struct platform_device ar5312_gpi
.num_resources = ARRAY_SIZE(ar5312_gpio_res),
};
.num_resources = ARRAY_SIZE(ar5312_gpio_res),
};
@@
-102,7
+102,7
@@
static void __init ar5312_flash_init(void)
{
void __iomem *flashctl_base;
static void __init ar5312_flash_init(void)
{
void __iomem *flashctl_base;
-@@ -30
6,6 +324
,11 @@ void __init ar5312_init_devices(void)
+@@ -30
1,6 +319
,11 @@ void __init ar5312_init_devices(void)
platform_device_register(&ar5312_gpio);
platform_device_register(&ar5312_gpio);