aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-05-10 23:27:23 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-11 19:36:28 -0400
commitc33063d6a0d83a553faacf32f3cb834e63d8ecd7 (patch)
tree789e0ef5e0cea80f757419483c3275a0990e048a /drivers
parentdsa: Move gpio reset into switch driver (diff)
downloadlinux-dev-c33063d6a0d83a553faacf32f3cb834e63d8ecd7.tar.xz
linux-dev-c33063d6a0d83a553faacf32f3cb834e63d8ecd7.zip
dsa: Remove master_dev from switch structure
The switch drivers only use the master_dev member for dev_info() messages. Now that the device is passed to the old style probe, and new style drivers are probed as true linux drivers, this is no longer needed. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dsa/mv88e6xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c
index e7e07eb7091d..8659cbaac9f9 100644
--- a/drivers/net/dsa/mv88e6xxx.c
+++ b/drivers/net/dsa/mv88e6xxx.c
@@ -3642,6 +3642,7 @@ int mv88e6xxx_probe(struct mdio_device *mdiodev)
ps = (struct mv88e6xxx_priv_state *)(ds + 1);
ds->priv = ps;
+ ds->dev = dev;
ps->dev = dev;
ps->ds = ds;
ps->bus = mdiodev->bus;