diff options
author | Dongpo Li <lidongpo@hisilicon.com> | 2016-12-12 13:03:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-16 19:29:35 +0100 |
commit | 8cd1f70f205a1c684037f06906566ddb3066d659 (patch) | |
tree | 4be808deee2e6c332c049996ba73b8e1225cd484 /include | |
parent | net: ethernet: hisi_femac: Call SET_NETDEV_DEV() (diff) | |
download | linux-8cd1f70f205a1c684037f06906566ddb3066d659.tar.xz linux-8cd1f70f205a1c684037f06906566ddb3066d659.zip |
net: ethernet: hip04: Call SET_NETDEV_DEV()
The hip04 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: Dongpo Li <lidongpo@hisilicon.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions