diff options
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index fdf45fdb6731..7d5b6d1838c8 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -138,7 +138,7 @@ void phy_prepare_link(struct phy_device *phydev, | |||
138 | */ | 138 | */ |
139 | struct phy_device * phy_connect(struct net_device *dev, const char *phy_id, | 139 | struct phy_device * phy_connect(struct net_device *dev, const char *phy_id, |
140 | void (*handler)(struct net_device *), u32 flags, | 140 | void (*handler)(struct net_device *), u32 flags, |
141 | u32 interface) | 141 | phy_interface_t interface) |
142 | { | 142 | { |
143 | struct phy_device *phydev; | 143 | struct phy_device *phydev; |
144 | 144 | ||
@@ -187,7 +187,7 @@ static int phy_compare_id(struct device *dev, void *data) | |||
187 | } | 187 | } |
188 | 188 | ||
189 | struct phy_device *phy_attach(struct net_device *dev, | 189 | struct phy_device *phy_attach(struct net_device *dev, |
190 | const char *phy_id, u32 flags, u32 interface) | 190 | const char *phy_id, u32 flags, phy_interface_t interface) |
191 | { | 191 | { |
192 | struct bus_type *bus = &mdio_bus_type; | 192 | struct bus_type *bus = &mdio_bus_type; |
193 | struct phy_device *phydev; | 193 | struct phy_device *phydev; |