X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4d9258acb3abc998fc14ca792ee460052aacd642..347c600521d2864d728e192cff1c1124d54b23ea:/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch diff --git a/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch b/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch index f1a66c9f9..edf00b90b 100644 --- a/target/linux/brcm63xx/patches-2.6.33/140-new_bcm96348gw_leds.patch +++ b/target/linux/brcm63xx/patches-2.6.33/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(); -@@ -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); @@ -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[1];