target/linux: refresh 2.6.32 patches
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 140-new_bcm96348gw_leds.patch
index 3ec4199a3fec93f6a7d70abd1c18682198f409fd..2288baafa65030d3201e12dfc53c5448f0e71ad0 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);
  
@@ -78,5 +78,5 @@
 -      struct gpio_led leds[5];
 +      struct gpio_led leds[8];
  
-       /* Reset button */
-       struct gpio_button reset_buttons[1];
+       /* Buttons */
+       struct gpio_button buttons[2];