Skip to content

Commit

Permalink
Revert "phy dp83867: Fix compilation with CONFIG_OF_MDIO=m"
Browse files Browse the repository at this point in the history
This reverts commit 7f32541.

This needs reverting too, as per requests.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 17, 2016
1 parent c606b49 commit 917fa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/dp83867.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 917fa53

Please sign in to comment.