projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
phy: Add an mdio_device structure
[cascardo/linux.git]
/
net
/
dsa
/
dsa.c
diff --git
a/net/dsa/dsa.c
b/net/dsa/dsa.c
index
208d1b2
..
fa4daba
100644
(file)
--- a/
net/dsa/dsa.c
+++ b/
net/dsa/dsa.c
@@
-439,7
+439,7
@@
static void dsa_switch_destroy(struct dsa_switch *ds)
if (of_phy_is_fixed_link(port_dn)) {
phydev = of_phy_find_device(port_dn);
if (phydev) {
- int addr = phydev->addr;
+ int addr = phydev->
mdio.
addr;
phy_device_free(phydev);
of_node_put(port_dn);