brcm63xx: probe SPI connected switches through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
index d5be558b413cab462e819fa713c91b41bc740192..974c67f7382713d17dfe7f44708a72bbc4336355 100644 (file)
@@ -30,7 +30,7 @@
  #endif /* BCM63XX_DEV_USB_OHCI_H_ */
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -167,6 +167,8 @@ static struct platform_device bcm63xx_gp
+@@ -166,6 +166,8 @@ static struct platform_device bcm63xx_gp
   */
  int __init board_register_devices(void)
  {
@@ -39,7 +39,7 @@
        if (board.has_uart0)
                bcm63xx_uart_register(0);
  
-@@ -188,14 +190,21 @@ int __init board_register_devices(void)
+@@ -187,14 +189,21 @@ int __init board_register_devices(void)
            !board_get_mac_address(board.enetsw.mac_addr))
                bcm63xx_enetsw_register(&board.enetsw);