diff options
author | David Bauer <mail@david-bauer.net> | 2019-04-18 00:59:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-19 03:42:54 +0300 |
commit | 6110ed2db3a41f3b9d676e58ac3d4637c2b497c4 (patch) | |
tree | 504923c7b9b315877d980f8a63210674ecef21f7 /drivers/net/phy/at803x.c | |
parent | 71dd6c0dff51b5f1fef2e9dfa6f6a948aac975f3 (diff) | |
download | linux-6110ed2db3a41f3b9d676e58ac3d4637c2b497c4.tar.xz |
net: mdio: rename mdio_device reset to reset_gpio
This renames the GPIO reset of mdio devices from 'reset' to
'reset_gpio' to better differentiate between GPIO and
reset-controller driven reset line.
Signed-off-by: David Bauer <mail@david-bauer.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/at803x.c')
-rw-r--r-- | drivers/net/phy/at803x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 406111753f7c..222ccd9ecfce 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -331,7 +331,7 @@ static void at803x_link_change_notify(struct phy_device *phydev) * in the FIFO. In such cases, the FIFO enters an error mode it * cannot recover from by software. */ - if (phydev->state == PHY_NOLINK && phydev->mdio.reset) { + if (phydev->state == PHY_NOLINK && phydev->mdio.reset_gpio) { struct at803x_context context; at803x_context_save(phydev, &context); |