[brcm63xx] fix gpio_button device register
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.32 / 140-new_bcm96348gw_leds.patch
index 3ec4199a3fec93f6a7d70abd1c18682198f409fd..d9dba14932f7819a00ccaa9fa7236104e699e48c 100644 (file)
  {
        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);