summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2013-03-08 10:07:42 +0100
committerDavid S. Miller <davem@davemloft.net>2013-03-09 22:09:17 +0100
commitbaec126cf6a864e0191cf51ac1940f3c4c211617 (patch)
tree679572e1667ed21c38e5f68113cad4d31d1d2ffa
parentSupject: phy: make local function static (diff)
downloadlinux-baec126cf6a864e0191cf51ac1940f3c4c211617.tar.xz
linux-baec126cf6a864e0191cf51ac1940f3c4c211617.zip
phy: vitesse make vsc824x_add_skew static
Function is only used in this file, should be static and not an exported symbol. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/vitesse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index 2585c383e623..3492b5391273 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -61,7 +61,7 @@ MODULE_DESCRIPTION("Vitesse PHY driver");
MODULE_AUTHOR("Kriston Carson");
MODULE_LICENSE("GPL");
-int vsc824x_add_skew(struct phy_device *phydev)
+static int vsc824x_add_skew(struct phy_device *phydev)
{
int err;
int extcon;
@@ -81,7 +81,6 @@ int vsc824x_add_skew(struct phy_device *phydev)
return err;
}
-EXPORT_SYMBOL(vsc824x_add_skew);
static int vsc824x_config_init(struct phy_device *phydev)
{