summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-20 20:36:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-20 20:36:27 +0000
commit83fb9f73e1a66ab4df6ef73d404f46a1081d84ae (patch)
tree0fb4de0fa96c727d1bfd7e2745f3f6e5e433a3de /target/linux/ar71xx/files/drivers
parentcad07a09c1765eefed58e565db0a15988a8e81e4 (diff)
downloadmtk-20170518-83fb9f73e1a66ab4df6ef73d404f46a1081d84ae.zip
mtk-20170518-83fb9f73e1a66ab4df6ef73d404f46a1081d84ae.tar.gz
mtk-20170518-83fb9f73e1a66ab4df6ef73d404f46a1081d84ae.tar.bz2
rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
SVN-Revision: 19249
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c b/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
index 2927857..2051072 100644
--- a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
@@ -1894,7 +1894,7 @@ static int __init rtl8366_smi_probe(struct platform_device *pdev)
return err;
}
-int rtl8366_phy_config_init(struct phy_device *phydev)
+static int rtl8366_phy_config_init(struct phy_device *phydev)
{
if (!rtl8366_smi_mii_bus_match(phydev->bus))
return -EINVAL;
@@ -1902,7 +1902,7 @@ int rtl8366_phy_config_init(struct phy_device *phydev)
return 0;
}
-int rtl8366_phy_config_aneg(struct phy_device *phydev)
+static int rtl8366_phy_config_aneg(struct phy_device *phydev)
{
return 0;
}