summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
diff options
context:
space:
mode:
authorrhk <rhk@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-29 12:50:09 +0000
committerrhk <rhk@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-29 12:50:09 +0000
commit7b8a4fb8e01f90d814d383dc05e3f572db501ad1 (patch)
tree69ab0fab3905f05284d25c67549590828b79d04e /target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
parenteb30c3b7ceb6ded6394c37007a25fd887ac44d8b (diff)
[brcm63xx] fix gpio_button device register
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21252 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch b/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
index f1a66c9f9..292f196ac 100644
--- a/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
+++ b/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
@@ -53,10 +53,10 @@
{
u32 val;
+ int led_count = 0;
+ int button_count = 0;
if (board.has_pccard)
- bcm63xx_pcmcia_register();
-@@ -900,7 +916,11 @@ int __init board_register_devices(void)
+@@ -901,7 +917,11 @@ int __init board_register_devices(void)
platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);