aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-06 13:31:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-06 13:31:24 +0000
commit4112094dbbd780d32be7450f9d938d2e64250c16 (patch)
treeec04625e48568ff682f4d081462cb364de17177a /target/linux
parenta53b084e497a9f1629a2caada833ebe14a6838b7 (diff)
downloadupstream-4112094dbbd780d32be7450f9d938d2e64250c16.tar.gz
upstream-4112094dbbd780d32be7450f9d938d2e64250c16.tar.bz2
upstream-4112094dbbd780d32be7450f9d938d2e64250c16.zip
increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code SVN-Revision: 32076
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm63xx/patches-3.3/301-led_count.patch11
-rw-r--r--target/linux/brcm63xx/patches-3.3/501-board-NB4.patch11
-rw-r--r--target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch11
-rw-r--r--target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch11
4 files changed, 11 insertions, 33 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/301-led_count.patch b/target/linux/brcm63xx/patches-3.3/301-led_count.patch
index 9fee853c5c..208ae65bb4 100644
--- a/target/linux/brcm63xx/patches-3.3/301-led_count.patch
+++ b/target/linux/brcm63xx/patches-3.3/301-led_count.patch
@@ -21,3 +21,14 @@
bcm63xx_led_data.leds = board.leds;
platform_device_register(&bcm63xx_gpio_leds);
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -57,7 +57,7 @@ struct board_info {
+ struct bcm63xx_dsp_platform_data dsp;
+
+ /* GPIO LEDs */
+- struct gpio_led leds[5];
++ struct gpio_led leds[14];
+
+ /* Buttons */
+ struct gpio_keys_button buttons[4];
diff --git a/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch b/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch
index 2c61c55026..812eaa2cf2 100644
--- a/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch
+++ b/target/linux/brcm63xx/patches-3.3/501-board-NB4.patch
@@ -561,14 +561,3 @@
board_name = bcm63xx_nvram_get_name();
/* find board by name */
for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
- struct bcm63xx_dsp_platform_data dsp;
-
- /* GPIO LEDs */
-- struct gpio_led leds[5];
-+ struct gpio_led leds[9];
-
- /* Buttons */
- struct gpio_keys_button buttons[4];
diff --git a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
index 3d00133b6f..a9cca53a14 100644
--- a/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
+++ b/target/linux/brcm63xx/patches-3.3/503-board-CPVA642.patch
@@ -107,14 +107,3 @@
&board_DWVS0,
&board_nb4_ser_r0,
&board_nb4_ser_r1,
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
- struct bcm63xx_dsp_platform_data dsp;
-
- /* GPIO LEDs */
-- struct gpio_led leds[9];
-+ struct gpio_led leds[10];
-
- /* Buttons */
- struct gpio_keys_button buttons[4];
diff --git a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
index 0fd10b155e..a8b3be294e 100644
--- a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
+++ b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
@@ -100,14 +100,3 @@
};
static struct board_info __initdata board_DWVS0 = {
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -52,7 +52,7 @@ struct board_info {
- struct bcm63xx_dsp_platform_data dsp;
-
- /* GPIO LEDs */
-- struct gpio_led leds[10];
-+ struct gpio_led leds[14];
-
- /* Buttons */
- struct gpio_keys_button buttons[4];