commit | 9cecb138e54c54989375bceeb448affcdf03497f | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Dec 08 11:41:24 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 08 21:26:58 2016 -0500 |
tree | d3c2240b88ce4a2f9b2b196588bfc1bd6ecb1ef3 | |
parent | c4587631c7bad47c045e081d1553cd73a23be59a [diff] |
net: ethernet: lantiq_etop: Call SET_NETDEV_DEV() The Lantiq Etop 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 <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>