|
@@ -207,7 +207,7 @@ static struct phy_device* phy_device_create(struct mii_bus *bus,
|
|
|
* Description: Reads the ID registers of the PHY at @addr on the
|
|
|
* @bus, stores it in @phy_id and returns zero on success.
|
|
|
*/
|
|
|
-int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
|
|
|
+static int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
|
|
|
{
|
|
|
int phy_reg;
|
|
|
|
|
@@ -230,7 +230,6 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-EXPORT_SYMBOL(get_phy_id);
|
|
|
|
|
|
/**
|
|
|
* get_phy_device - reads the specified PHY device and returns its @phy_device struct
|