summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-orion
diff options
context:
space:
mode:
authorFlorian Fainelli2015-10-03 22:03:47 +0200
committerGregory CLEMENT2015-10-06 16:22:37 +0200
commitd836ace65ee98d7079bc3c5afdbcc0e27dca20a3 (patch)
tree44e3ee371dd2dac51638af9bfae76736a8789c4f /arch/arm/plat-orion
parentLinux 4.3-rc1 (diff)
downloadkernel-qcow2-linux-d836ace65ee98d7079bc3c5afdbcc0e27dca20a3.tar.gz
kernel-qcow2-linux-d836ace65ee98d7079bc3c5afdbcc0e27dca20a3.tar.xz
kernel-qcow2-linux-d836ace65ee98d7079bc3c5afdbcc0e27dca20a3.zip
ARM: orion: Fix DSA platform device after mvmdio conversion
DSA expects the host_dev pointer to be the device structure associated with the MDIO bus controller driver. First commit breaking that was c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver"), and then, it got completely under the radar for a while. Reported-by: Frans van de Wiel <fvdw@fvdw.eu> Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver") CC: stable@vger.kernel.org Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/plat-orion')
-rw-r--r--arch/arm/plat-orion/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c
index 2235081a04ee..8861c367d061 100644
--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -495,7 +495,7 @@ void __init orion_ge00_switch_init(struct dsa_platform_data *d, int irq)
d->netdev = &orion_ge00.dev;
for (i = 0; i < d->nr_chips; i++)
- d->chip[i].host_dev = &orion_ge00_shared.dev;
+ d->chip[i].host_dev = &orion_ge_mvmdio.dev;
orion_switch_device.dev.platform_data = d;
platform_device_register(&orion_switch_device);