diff options
Diffstat (limited to 'include/linux/phy_fixed.h')
| -rw-r--r-- | include/linux/phy_fixed.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h index 2400d2ea4f34..1d41ec44e39d 100644 --- a/include/linux/phy_fixed.h +++ b/include/linux/phy_fixed.h | |||
| @@ -19,7 +19,7 @@ extern struct phy_device *fixed_phy_register(unsigned int irq, | |||
| 19 | struct fixed_phy_status *status, | 19 | struct fixed_phy_status *status, |
| 20 | int link_gpio, | 20 | int link_gpio, |
| 21 | struct device_node *np); | 21 | struct device_node *np); |
| 22 | extern void fixed_phy_del(int phy_addr); | 22 | extern void fixed_phy_unregister(struct phy_device *phydev); |
| 23 | extern int fixed_phy_set_link_update(struct phy_device *phydev, | 23 | extern int fixed_phy_set_link_update(struct phy_device *phydev, |
| 24 | int (*link_update)(struct net_device *, | 24 | int (*link_update)(struct net_device *, |
| 25 | struct fixed_phy_status *)); | 25 | struct fixed_phy_status *)); |
| @@ -40,9 +40,8 @@ static inline struct phy_device *fixed_phy_register(unsigned int irq, | |||
| 40 | { | 40 | { |
| 41 | return ERR_PTR(-ENODEV); | 41 | return ERR_PTR(-ENODEV); |
| 42 | } | 42 | } |
| 43 | static inline int fixed_phy_del(int phy_addr) | 43 | static inline void fixed_phy_unregister(struct phy_device *phydev) |
| 44 | { | 44 | { |
| 45 | return -ENODEV; | ||
| 46 | } | 45 | } |
| 47 | static inline int fixed_phy_set_link_update(struct phy_device *phydev, | 46 | static inline int fixed_phy_set_link_update(struct phy_device *phydev, |
| 48 | int (*link_update)(struct net_device *, | 47 | int (*link_update)(struct net_device *, |
