openwrtv4/target/linux/brcm63xx/patches-3.10/551-96348gw_a_leds.patch
Jonas Gorski 8630d101b7 brcm63xx: fixup patches borked by allowing too much fuzz
Move defines and board_info structs back to their proper locations so
(de-)selecting SOC support won't break the build.

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41550
2014-07-08 12:27:55 +00:00

22 lines
426 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1641,6 +1641,19 @@ static struct board_info __initdata boar
},
.has_ohci0 = 1,
+
+ .leds = {
+ {
+ .name = "96348GW-A::adsl",
+ .gpio = 3,
+ .active_low = 1,
+ },
+ {
+ .name = "96348GW-A::usb",
+ .gpio = 0,
+ .active_low = 1,
+ }
+ },
};
static struct board_info __initdata board_96348_D4PW = {