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:
7937963
)
net: freescale: ucc_geth: Fix build error from phy_device API change
author
Andrew Lunn
<andrew@lunn.ch>
Tue, 12 Jan 2016 02:24:30 +0000
(
03:24
+0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Jan 2016 04:27:26 +0000
(23:27 -0500)
dev has moved inside the new mdio structure.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/ucc_geth.c
b/drivers/net/ethernet/freescale/ucc_geth.c
index
0e7f24e
..
cbddbe2
100644
(file)
--- a/
drivers/net/ethernet/freescale/ucc_geth.c
+++ b/
drivers/net/ethernet/freescale/ucc_geth.c
@@
-1716,7
+1716,7
@@
static void uec_configure_serdes(struct net_device *dev)
phy_write(tbiphy, ENET_TBI_MII_CR, TBICR_SETTINGS);
- put_device(&tbiphy->dev);
+ put_device(&tbiphy->
mdio.
dev);
}
/* Configure the PHY for dev.