diff options
| author | Florian Fainelli <[email protected]> | 2016-12-08 19:41:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-09 02:26:58 +0000 |
| commit | 5579f28cc8ba8a3b489cb042fcb30d331236c3bb (patch) | |
| tree | 5d78835b264a00ab13a5911f88ccd944d13d9caa /net/lapb/lapb_iface.c | |
| parent | net: ethernet: lantiq_etop: Call SET_NETDEV_DEV() (diff) | |
| download | kernel-5579f28cc8ba8a3b489cb042fcb30d331236c3bb.tar.gz kernel-5579f28cc8ba8a3b489cb042fcb30d331236c3bb.zip | |
net: ethernet: cpmac: Call SET_NETDEV_DEV()
The TI CPMAC driver calls into PHYLIB which now checks for
net_device->dev.parent, so make sure we do set it before calling into
any MDIO/PHYLIB related function.
Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a different owner")
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
