Message ID | 20160111134615.60c08c54@canb.auug.org.au |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Mon, 11 Jan 2016 13:46:15 +1100 > I applied the following merge fix patch: > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Mon, 11 Jan 2016 13:25:09 +1100 > Subject: [PATCH] phy: micrel: fix up for "phy: Add an mdio_device structure" > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Thanks Stephen, it's correct and I'll make sure I do this when I merge net into net-next.
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 41b598548f2e..03833dbfca67 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -489,7 +489,7 @@ static int ksz9031_config_init(struct phy_device *phydev) * properties in the MAC node. Walk up the tree of devices to * find a device with an OF node. */ - dev_walker = &phydev->dev; + dev_walker = &phydev->mdio.dev; do { of_node = dev_walker->of_node; dev_walker = dev_walker->parent;