Commit 2698f85e authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

net: phy: xgmiitorgmii: Fix non static symbol warning

Fixes the following sparse warning:

drivers/net/phy/xilinx_gmii2rgmii.c:61:5: warning:
 symbol 'xgmiitorgmii_probe' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9a4d7e86
...@@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev) ...@@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev)
return 0; return 0;
} }
int xgmiitorgmii_probe(struct mdio_device *mdiodev) static int xgmiitorgmii_probe(struct mdio_device *mdiodev)
{ {
struct device *dev = &mdiodev->dev; struct device *dev = &mdiodev->dev;
struct device_node *np = dev->of_node, *phy_node; struct device_node *np = dev->of_node, *phy_node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment