aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/phy_fixed.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h
index 4f2478b47136..ae612acebb53 100644
--- a/include/linux/phy_fixed.h
+++ b/include/linux/phy_fixed.h
@@ -17,6 +17,7 @@ extern int fixed_phy_add(unsigned int irq, int phy_id,
17extern int fixed_phy_register(unsigned int irq, 17extern int fixed_phy_register(unsigned int irq,
18 struct fixed_phy_status *status, 18 struct fixed_phy_status *status,
19 struct device_node *np); 19 struct device_node *np);
20extern void fixed_phy_del(int phy_addr);
20#else 21#else
21static inline int fixed_phy_add(unsigned int irq, int phy_id, 22static inline int fixed_phy_add(unsigned int irq, int phy_id,
22 struct fixed_phy_status *status) 23 struct fixed_phy_status *status)
@@ -29,6 +30,10 @@ static inline int fixed_phy_register(unsigned int irq,
29{ 30{
30 return -ENODEV; 31 return -ENODEV;
31} 32}
33static inline int fixed_phy_del(int phy_addr)
34{
35 return -ENODEV;
36}
32#endif /* CONFIG_FIXED_PHY */ 37#endif /* CONFIG_FIXED_PHY */
33 38
34/* 39/*