Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Wei Yongjun and committed by
David S. Miller
2698f85e 9a4d7e86

+1 -1
+1 -1
drivers/net/phy/xilinx_gmii2rgmii.c
··· 58 58 return 0; 59 59 } 60 60 61 - int xgmiitorgmii_probe(struct mdio_device *mdiodev) 61 + static int xgmiitorgmii_probe(struct mdio_device *mdiodev) 62 62 { 63 63 struct device *dev = &mdiodev->dev; 64 64 struct device_node *np = dev->of_node, *phy_node;