brcm63xx: remove legacy led/button related patches
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 302-extended-platform-devices.patch
index cc61cee477fb878f05b522ef2a44deb3adf1d9e3..3f5cfc6e847f7f383cd34d3cd9f8c389780e2358 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -222,6 +222,9 @@ int __init board_register_devices(void)
+@@ -206,6 +206,9 @@ int __init board_register_devices(void)
  
        bcm63xx_hsspi_register();
  
@@ -9,10 +9,10 @@
 +
        bcm63xx_flash_register();
  
-       /* count number of LEDs defined by this device */
+       bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -57,6 +57,10 @@ struct board_info {
+@@ -53,6 +53,10 @@ struct board_info {
  
        /* External PHY reset GPIO flags from gpio.h */
        unsigned long ephy_reset_gpio_flags;