brcm63xx: probe SPI connected switches through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
index 2d31f428360bb464fb2e10d96e91018b189224b4..d86e6a05fa2867ff1869f1c30f7e9439e9c4f303 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
 
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -36,6 +36,7 @@
+@@ -33,6 +33,7 @@
  #include <bcm63xx_dev_usb_ohci.h>
  #include <bcm63xx_dev_usb_usbd.h>
  #include <board_bcm963xx.h>
@@ -18,7 +18,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  
  #include "board_common.h"
  
-@@ -191,6 +192,7 @@ static struct of_device_id of_ids[] = {
+@@ -179,6 +180,7 @@ static struct of_device_id of_ids[] = {
  int __init board_register_devices(void)
  {
        int usbh_ports = 0;
@@ -26,7 +26,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  
  #if CONFIG_OF
        if (of_have_populated_dt()) {
-@@ -274,6 +276,10 @@ int __init board_register_devices(void)
+@@ -252,6 +254,10 @@ int __init board_register_devices(void)
                                        board.ephy_reset_gpio_flags);
        }