diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-05-10 23:27:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-11 19:36:28 -0400 |
commit | c33063d6a0d83a553faacf32f3cb834e63d8ecd7 (patch) | |
tree | 789e0ef5e0cea80f757419483c3275a0990e048a /drivers/net/dsa/mv88e6xxx.c | |
parent | 52638f71fcff9386fe64c83a18a129b122333fdf (diff) | |
download | lwn-c33063d6a0d83a553faacf32f3cb834e63d8ecd7.tar.gz lwn-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/net/dsa/mv88e6xxx.c')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx.c | 1 |
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; |