diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers/net/phy/xilinx_gmii2rgmii.c index f38be7094362..d15dd3938ba8 100644 --- a/drivers/net/phy/xilinx_gmii2rgmii.c +++ b/drivers/net/phy/xilinx_gmii2rgmii.c @@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev) return 0; } -int xgmiitorgmii_probe(struct mdio_device *mdiodev) +static int xgmiitorgmii_probe(struct mdio_device *mdiodev) { struct device *dev = &mdiodev->dev; struct device_node *np = dev->of_node, *phy_node;