소스 검색

Revert "phy dp83867: Fix compilation with CONFIG_OF_MDIO=m"

This reverts commit 7f32541c2fdaa84af418c3e1431bbd066ab44d09.

This needs reverting too, as per requests.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 9 년 전
부모
커밋
917fa5353d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/net/phy/dp83867.c

+ 1 - 1
drivers/net/phy/dp83867.c

@@ -99,7 +99,7 @@ static int dp83867_config_intr(struct phy_device *phydev)
 	return phy_write(phydev, MII_DP83867_MICR, micr_status);
 }
 
-#if IS_ENABLED(CONFIG_OF_MDIO)
+#ifdef CONFIG_OF_MDIO
 static int dp83867_of_init(struct phy_device *phydev)
 {
 	struct dp83867_private *dp83867 = phydev->priv;