rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
authorGabor Juhos <juhosg@openwrt.org>
Wed, 20 Jan 2010 20:36:27 +0000 (20:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 20 Jan 2010 20:36:27 +0000 (20:36 +0000)
SVN-Revision: 19249

target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c

index 2927857..2051072 100644 (file)
@@ -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;
 }