summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-05-17 21:49:55 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-17 21:49:55 +0300
commit917fa5353da05e8a0045b8acacba8d50400d5b12 (patch)
tree4750e73073ab356803ce681ba0f284cb05e3738b
parentc606b4999b8b11600baabab6a18fb02d296569a3 (diff)
downloadlinux-917fa5353da05e8a0045b8acacba8d50400d5b12.tar.xz
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>
-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)
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;