brcm63xx: probe SPI connected switches through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 356-MIPS-BCM63XX-move-fallback-sprom-support-into-its-ow.patch
index 8386a3282900e7d62062f9e78d02ec93674f34e8..cec6c7e1a7c88157065453174a6c889ca06353de 100644 (file)
@@ -31,7 +31,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  obj-y         += boards/
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -41,44 +41,6 @@
+@@ -40,44 +40,6 @@
  static struct board_info board;
  
  /*
@@ -76,7 +76,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
   * return board name for /proc/cpuinfo
   */
  const char *board_get_name(void)
-@@ -181,6 +143,7 @@ static struct platform_device bcm63xx_gp
+@@ -180,6 +142,7 @@ static struct platform_device bcm63xx_gp
  int __init board_register_devices(void)
  {
        int usbh_ports = 0;
@@ -84,7 +84,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  
        if (board.has_uart0)
                bcm63xx_uart_register(0);
-@@ -225,15 +188,10 @@ int __init board_register_devices(void)
+@@ -224,15 +187,10 @@ int __init board_register_devices(void)
        /* Generate MAC address for WLAN and register our SPROM,
         * do this after registering enet devices
         */