rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Jan 2010 20:36:27 +0000 (20:36 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Jan 2010 20:36:27 +0000 (20:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19249 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 292785701063d890158a3ffae45dc0ce3f0efd8c..20510724c5dd7f714e42769bde5054e0f73d3191 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;
 }