net: phy: fix sparse warning in fixed.c
[deliverable/linux.git] / include / linux / phy_fixed.h
index 4f2478b4713651a7dd19e17d19d589b658f52470..ae612acebb53d2f0bf121226afde877cb4d32f91 100644 (file)
@@ -17,6 +17,7 @@ extern int fixed_phy_add(unsigned int irq, int phy_id,
 extern int fixed_phy_register(unsigned int irq,
                              struct fixed_phy_status *status,
                              struct device_node *np);
+extern void fixed_phy_del(int phy_addr);
 #else
 static inline int fixed_phy_add(unsigned int irq, int phy_id,
                                struct fixed_phy_status *status)
@@ -29,6 +30,10 @@ static inline int fixed_phy_register(unsigned int irq,
 {
        return -ENODEV;
 }
+static inline int fixed_phy_del(int phy_addr)
+{
+       return -ENODEV;
+}
 #endif /* CONFIG_FIXED_PHY */
 
 /*
This page took 0.023839 seconds and 5 git commands to generate.