summaryrefslogtreecommitdiff
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-04-18 00:59:22 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-19 03:42:54 +0300
commit6110ed2db3a41f3b9d676e58ac3d4637c2b497c4 (patch)
tree504923c7b9b315877d980f8a63210674ecef21f7 /include/linux/mdio.h
parent71dd6c0dff51b5f1fef2e9dfa6f6a948aac975f3 (diff)
downloadlinux-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 'include/linux/mdio.h')
-rw-r--r--include/linux/mdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index 6eaf71500ef6..9dc16d5705a1 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -39,7 +39,7 @@ struct mdio_device {
/* Bus address of the MDIO device (0-31) */
int addr;
int flags;
- struct gpio_desc *reset;
+ struct gpio_desc *reset_gpio;
struct reset_control *reset_ctrl;
unsigned int reset_assert_delay;
unsigned int reset_deassert_delay;