X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e861730fef124e281a02fdff38511bfbbb8fae99..347c600521d2864d728e192cff1c1124d54b23ea:/target/linux/brcm63xx/patches-2.6.32/140-new_bcm96348gw_leds.patch?ds=sidebyside 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 3ec4199a3..2288baafa 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); @@ -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];