diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-21 12:22:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-23 15:40:51 +0200 |
commit | 75635f6926d2a3dcadd9b9c026aa21a16e113ee3 (patch) | |
tree | fe83786eb52dba2585119c6236c50ffa6735f1ec /include/linux | |
parent | 7240f56d360b369f5e20fc260ede31043f193efa (diff) | |
download | barebox-75635f6926d2a3dcadd9b9c026aa21a16e113ee3.tar.gz barebox-75635f6926d2a3dcadd9b9c026aa21a16e113ee3.tar.xz |
net: phy: remove now unused of_phy_device_connect
Since barebox handles phys from devicetree transparently we no longer
need of_phy_device_connect.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/phy.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 3cdbc6ebfa..3229aa6300 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -288,20 +288,6 @@ int phy_device_connect(struct eth_device *dev, struct mii_bus *bus, int addr, void (*adjust_link) (struct eth_device *edev), u32 flags, phy_interface_t interface); -#if defined(CONFIG_OFTREE) -int of_phy_device_connect(struct eth_device *edev, struct device_node *phy_np, - void (*adjust_link) (struct eth_device *edev), - u32 flags, phy_interface_t interface); -#else -static inline int of_phy_device_connect(struct eth_device *edev, - struct device_node *phy_np, - void (*adjust_link) (struct eth_device *edev), - u32 flags, phy_interface_t interface) -{ - return -ENOSYS; -} -#endif - int phy_update_status(struct phy_device *phydev); int phy_wait_aneg_done(struct phy_device *phydev); |