diff options
Diffstat (limited to 'drivers/net/phy/ethernet_id.c')
-rw-r--r-- | drivers/net/phy/ethernet_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/ethernet_id.c b/drivers/net/phy/ethernet_id.c index 1a78a751ede..8864f99bb32 100644 --- a/drivers/net/phy/ethernet_id.c +++ b/drivers/net/phy/ethernet_id.c @@ -12,7 +12,7 @@ #include <asm/gpio.h> struct phy_device *phy_connect_phy_id(struct mii_dev *bus, struct udevice *dev, - int phyaddr, phy_interface_t interface) + int phyaddr) { struct phy_device *phydev; struct ofnode_phandle_args phandle_args; @@ -68,7 +68,7 @@ struct phy_device *phy_connect_phy_id(struct mii_dev *bus, struct udevice *dev, } id = vendor << 16 | device; - phydev = phy_device_create(bus, phyaddr, id, false, interface); + phydev = phy_device_create(bus, phyaddr, id, false); if (phydev) phydev->node = node; |