aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2014-01-04 19:28:27 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-04 19:27:58 -0500
commitfbfcec635dba38345a446f44b22352cd96ad9463 (patch)
tree70d70ea5b027650c93111cfc135fbf970301bdd7 /drivers/net/phy/phy_device.c
parent29935aebc7a8f2d3f9cc1743f24f0db8b4610ece (diff)
phylib: make phy_scan_fixups() static
phy_scan_fixups() isn't and shouldn't be called by the drivers directly, so unexport it. And since Florian Fainelli's recent patches, the function is only called locally, so we can make it static as well. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r--drivers/net/phy/phy_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 09aa9e564296..5d81c89ee52b 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -122,7 +122,7 @@ static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup)
122} 122}
123 123
124/* Runs any matching fixups for this phydev */ 124/* Runs any matching fixups for this phydev */
125int phy_scan_fixups(struct phy_device *phydev) 125static int phy_scan_fixups(struct phy_device *phydev)
126{ 126{
127 struct phy_fixup *fixup; 127 struct phy_fixup *fixup;
128 128
@@ -141,7 +141,6 @@ int phy_scan_fixups(struct phy_device *phydev)
141 141
142 return 0; 142 return 0;
143} 143}
144EXPORT_SYMBOL(phy_scan_fixups);
145 144
146struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, 145struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id,
147 bool is_c45, 146 bool is_c45,