mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
a3283e2576
commit
c1b3eb0468
|
@ -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;
|
||||
|
||||
|
|
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue