aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.39
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-06-21 20:52:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-06-21 20:52:58 +0000
commit16a2b890cff31f3a51030d3995c057d96ddb5b0d (patch)
treefa145f668fe63b2248887d115d3ea3dc2cd29729 /target/linux/brcm63xx/patches-2.6.39
parenta104f95d056b33f683acaa3f42779daa1e738281 (diff)
downloadupstream-16a2b890cff31f3a51030d3995c057d96ddb5b0d.tar.gz
upstream-16a2b890cff31f3a51030d3995c057d96ddb5b0d.tar.bz2
upstream-16a2b890cff31f3a51030d3995c057d96ddb5b0d.zip
[brcm63xx] fix tab damage in 141-led_count.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27254 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.39')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/141-led_count.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.39/141-led_count.patch b/target/linux/brcm63xx/patches-2.6.39/141-led_count.patch
index baf092053d..e0fa19808a 100644
--- a/target/linux/brcm63xx/patches-2.6.39/141-led_count.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/141-led_count.patch
@@ -15,7 +15,7 @@
- bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
+ /* count number of LEDs defined by this device */
+ while (led_count < ARRAY_SIZE(board.leds) && board.leds[led_count].name)
-+ led_count++;
++ led_count++;
+
+ bcm63xx_led_data.num_leds = led_count;
bcm63xx_led_data.leds = board.leds;