aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
diff options
context:
space:
mode:
authorRaphaël HUCK <rhk@cksum.org>2010-04-29 12:50:09 +0000
committerRaphaël HUCK <rhk@cksum.org>2010-04-29 12:50:09 +0000
commit7e2975d848d68bd9d5017c63e9273bfd2c62a9c1 (patch)
tree69ab0fab3905f05284d25c67549590828b79d04e /target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
parent0a512ce142d076578a7d67ddaaee5af341c6754a (diff)
downloadmaster-187ad058-7e2975d848d68bd9d5017c63e9273bfd2c62a9c1.tar.gz
master-187ad058-7e2975d848d68bd9d5017c63e9273bfd2c62a9c1.tar.bz2
master-187ad058-7e2975d848d68bd9d5017c63e9273bfd2c62a9c1.zip
[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 f1a66c9f91..292f196ac6 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);