projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c606b49
)
Revert "phy dp83867: Fix compilation with CONFIG_OF_MDIO=m"
author
David S. Miller
<davem@davemloft.net>
Tue, 17 May 2016 18:49:55 +0000
(14:49 -0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 17 May 2016 18:49:55 +0000
(14:49 -0400)
This reverts commit
7f32541c2fdaa84af418c3e1431bbd066ab44d09
.
This needs reverting too, as per requests.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/dp83867.c
b/drivers/net/phy/dp83867.c
index
94cc278
..
2afa61b
100644
(file)
--- 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)
+#if
def CONFIG_OF_MDIO
static int dp83867_of_init(struct phy_device *phydev)
{
struct dp83867_private *dp83867 = phydev->priv;