diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-05-22 09:47:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-22 15:16:44 -0400 |
commit | ea3429c77d4e34cb2983b90e49a5506fedf70b98 (patch) | |
tree | a160edaec2d56734aa134790bfd893eff4e81c12 /include/linux/of_mdio.h | |
parent | 87009814cdbb23f69ecdd42cbbd737a82fa7f450 (diff) | |
download | linux-ea3429c77d4e34cb2983b90e49a5506fedf70b98.tar.gz linux-ea3429c77d4e34cb2983b90e49a5506fedf70b98.tar.bz2 linux-ea3429c77d4e34cb2983b90e49a5506fedf70b98.zip |
of: mdio: remove of_phy_connect_fixed_link
All in-tree drivers have been converted to use the new pair of
functions: of_is_fixed_phy_link() plus of_phy_register_fixed_link(), we
can now safely remove of_phy_connect_fixed_link.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/of_mdio.h')
-rw-r--r-- | include/linux/of_mdio.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h index 0aa367e316cb..d449018d0726 100644 --- a/include/linux/of_mdio.h +++ b/include/linux/of_mdio.h @@ -22,9 +22,6 @@ extern struct phy_device *of_phy_connect(struct net_device *dev, struct phy_device *of_phy_attach(struct net_device *dev, struct device_node *phy_np, u32 flags, phy_interface_t iface); -extern struct phy_device *of_phy_connect_fixed_link(struct net_device *dev, - void (*hndlr)(struct net_device *), - phy_interface_t iface); extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); @@ -59,13 +56,6 @@ static inline struct phy_device *of_phy_attach(struct net_device *dev, return NULL; } -static inline struct phy_device *of_phy_connect_fixed_link(struct net_device *dev, - void (*hndlr)(struct net_device *), - phy_interface_t iface) -{ - return NULL; -} - static inline struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np) { return NULL; |