summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-2.6.32/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.32/140-new_bcm96348gw_leds.patch
parent36ee230fcaa1f1280045f54ce679db9790f0828d (diff)
downloadmtk-20170518-5af6e7724b53fbb6acaa13ab386645bfc595e891.zip
mtk-20170518-5af6e7724b53fbb6acaa13ab386645bfc595e891.tar.gz
mtk-20170518-5af6e7724b53fbb6acaa13ab386645bfc595e891.tar.bz2
fix gpio_button device register
SVN-Revision: 21252
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch b/target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch
index 3ec4199..d9dba14 100644
--- a/target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch
+++ b/target/linux/brcm63xx/patches-2.6.32/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();
-@@ -901,7 +917,11 @@ int __init board_register_devices(void)
+@@ -902,7 +918,11 @@ int __init board_register_devices(void)
platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);