phylib: move to dynamic allocation of struct mii_bus
[deliverable/linux.git] / include / linux / phy.h
index 87499bdedc6fd3b4cfea2a4e5f5f46c1db625445..ca4a83c4c53719916b28f094431d7e9b6f083abf 100644 (file)
@@ -408,8 +408,10 @@ void phy_start(struct phy_device *phydev);
 void phy_stop(struct phy_device *phydev);
 int phy_start_aneg(struct phy_device *phydev);
 
+struct mii_bus *mdiobus_alloc(void);
 int mdiobus_register(struct mii_bus *bus);
 void mdiobus_unregister(struct mii_bus *bus);
+void mdiobus_free(struct mii_bus *bus);
 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr);
 
 void phy_sanitize_settings(struct phy_device *phydev);
This page took 0.036337 seconds and 5 git commands to generate.