diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-04-19 01:02:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 21:59:10 +0200 |
commit | c1b3eb04682f80af74572aa25601dbb555c6bc6e (patch) | |
tree | 76720aa3b9f60a34e8ee157fd960ad21baaca028 | |
parent | net: phy: mdio-bitbang: Remove reset support (diff) | |
download | linux-c1b3eb04682f80af74572aa25601dbb555c6bc6e.tar.xz linux-c1b3eb04682f80af74572aa25601dbb555c6bc6e.zip |
net: phy: mdio-gpio: remove support for ignoring turn around
This is not needed any more by devices using platform data, so remove
it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/mdio-gpio.c | 1 | ||||
-rw-r--r-- | include/linux/platform_data/mdio-gpio.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 570b87b82abc..28ad9ca7b9e7 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c @@ -163,7 +163,6 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev, new_bus->name = "GPIO Bitbanged MDIO"; new_bus->phy_mask = pdata->phy_mask; - new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask; memcpy(new_bus->irq, pdata->irqs, sizeof(new_bus->irq)); new_bus->parent = dev; diff --git a/include/linux/platform_data/mdio-gpio.h b/include/linux/platform_data/mdio-gpio.h index 6e8f01a570f2..b8f914a30126 100644 --- a/include/linux/platform_data/mdio-gpio.h +++ b/include/linux/platform_data/mdio-gpio.h @@ -24,7 +24,6 @@ struct mdio_gpio_platform_data { bool mdo_active_low; u32 phy_mask; - u32 phy_ignore_ta_mask; int irqs[PHY_MAX_ADDR]; }; |