projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target/linux: refresh 2.6.32 patches
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-2.6.32
/
140-new_bcm96348gw_leds.patch
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 3ec4199a3fec93f6a7d70abd1c18682198f409fd..2288baafa65030d3201e12dfc53c5448f0e71ad0 100644
(file)
--- 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;
{
u32 val;
+ int led_count = 0;
+ int button_count = 0;
if (board.has_pccard)
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);
platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
@@
-78,5
+78,5
@@
- struct gpio_led leds[5];
+ struct gpio_led leds[8];
- struct gpio_led leds[5];
+ struct gpio_led leds[8];
- /*
Reset button
*/
- struct gpio_button
reset_buttons[1
];
+ /*
Buttons
*/
+ struct gpio_button
buttons[2
];