|
@@ -76,8 +76,8 @@ static int mtk_mdio_busy_wait(struct mtk_eth *eth)
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
-u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr,
|
|
|
- u32 phy_register, u32 write_data)
|
|
|
+static u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr,
|
|
|
+ u32 phy_register, u32 write_data)
|
|
|
{
|
|
|
if (mtk_mdio_busy_wait(eth))
|
|
|
return -1;
|
|
@@ -95,7 +95,7 @@ u32 _mtk_mdio_write(struct mtk_eth *eth, u32 phy_addr,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg)
|
|
|
+static u32 _mtk_mdio_read(struct mtk_eth *eth, int phy_addr, int phy_reg)
|
|
|
{
|
|
|
u32 d;
|
|
|
|