aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-09 21:58:36 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-06-10 12:40:38 +0200
commitb43c190079eb32eb19e1ba7d550c420933c182ad (patch)
tree56e0437325b64d7f0c8183370068ba1c149dd86e /target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
parent5df15c06ccd105a19431bc32bd1d158b3ff3325e (diff)
downloadupstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.gz
upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.bz2
upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.zip
brcm63xx: probe SPI connected switches through DT
Now that we can configure the switches through DT, do so. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch b/target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
index d5be558b41..974c67f738 100644
--- a/target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
+++ b/target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
@@ -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);