aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/dp83867.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c
index 94cc278b3136..2afa61b51d41 100644
--- a/drivers/net/phy/dp83867.c
+++ b/drivers/net/phy/dp83867.c
@@ -99,7 +99,7 @@ static int dp83867_config_intr(struct phy_device *phydev)
99 return phy_write(phydev, MII_DP83867_MICR, micr_status); 99 return phy_write(phydev, MII_DP83867_MICR, micr_status);
100} 100}
101 101
102#if IS_ENABLED(CONFIG_OF_MDIO) 102#ifdef CONFIG_OF_MDIO
103static int dp83867_of_init(struct phy_device *phydev) 103static int dp83867_of_init(struct phy_device *phydev)
104{ 104{
105 struct dp83867_private *dp83867 = phydev->priv; 105 struct dp83867_private *dp83867 = phydev->priv;