aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
-rw-r--r--drivers/net/phy/mdio_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index 044b5326459f..dc920974204e 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -95,7 +95,7 @@ static struct class mdio_bus_class = {
95 95
96#if IS_ENABLED(CONFIG_OF_MDIO) 96#if IS_ENABLED(CONFIG_OF_MDIO)
97/* Helper function for of_mdio_find_bus */ 97/* Helper function for of_mdio_find_bus */
98static int of_mdio_bus_match(struct device *dev, void *mdio_bus_np) 98static int of_mdio_bus_match(struct device *dev, const void *mdio_bus_np)
99{ 99{
100 return dev->of_node == mdio_bus_np; 100 return dev->of_node == mdio_bus_np;
101} 101}