summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/301-led_count.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 13:31:24 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 13:31:24 +0000
commita7a19483fb994c5ec56d91e12f8ead834e4c6276 (patch)
treeeea3362f7fc6f7110b40c6b5115c5732f1c9cd06 /target/linux/brcm63xx/patches-3.3/301-led_count.patch
parent0d08b7661121b5e68a980188316078ab5518c7c0 (diff)
[brcm63xx] increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32076 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/301-led_count.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/301-led_count.patch11
1 files changed, 11 insertions, 0 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 9fee853c5..208ae65bb 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];