1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[brcm63xx] fix gpio_button device register

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21252 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
rhk
2010-04-29 12:50:09 +00:00
parent eb30c3b7ce
commit 7b8a4fb8e0
4 changed files with 34 additions and 12 deletions

View File

@@ -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);