summaryrefslogtreecommitdiffstats
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
commit5af6e7724b53fbb6acaa13ab386645bfc595e891 (patch)
treecf01777ae39241ee0fb3485a17fb759495e77c21 /target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch
parent36ee230fcaa1f1280045f54ce679db9790f0828d (diff)
downloadmaster-31e0f0ae-5af6e7724b53fbb6acaa13ab386645bfc595e891.tar.gz
master-31e0f0ae-5af6e7724b53fbb6acaa13ab386645bfc595e891.tar.bz2
master-31e0f0ae-5af6e7724b53fbb6acaa13ab386645bfc595e891.zip
fix gpio_button device register
SVN-Revision: 21252
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);