diff options
Diffstat (limited to 'include/linux/of_mdio.h')
-rw-r--r-- | include/linux/of_mdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h index 2ab233661ae5..a58cca8bcb29 100644 --- a/include/linux/of_mdio.h +++ b/include/linux/of_mdio.h | |||
@@ -29,6 +29,7 @@ struct phy_device *of_phy_attach(struct net_device *dev, | |||
29 | extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); | 29 | extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); |
30 | extern int of_mdio_parse_addr(struct device *dev, const struct device_node *np); | 30 | extern int of_mdio_parse_addr(struct device *dev, const struct device_node *np); |
31 | extern int of_phy_register_fixed_link(struct device_node *np); | 31 | extern int of_phy_register_fixed_link(struct device_node *np); |
32 | extern void of_phy_deregister_fixed_link(struct device_node *np); | ||
32 | extern bool of_phy_is_fixed_link(struct device_node *np); | 33 | extern bool of_phy_is_fixed_link(struct device_node *np); |
33 | 34 | ||
34 | #else /* CONFIG_OF */ | 35 | #else /* CONFIG_OF */ |
@@ -83,6 +84,9 @@ static inline int of_phy_register_fixed_link(struct device_node *np) | |||
83 | { | 84 | { |
84 | return -ENOSYS; | 85 | return -ENOSYS; |
85 | } | 86 | } |
87 | static inline void of_phy_deregister_fixed_link(struct device_node *np) | ||
88 | { | ||
89 | } | ||
86 | static inline bool of_phy_is_fixed_link(struct device_node *np) | 90 | static inline bool of_phy_is_fixed_link(struct device_node *np) |
87 | { | 91 | { |
88 | return false; | 92 | return false; |