net: dsa: fix mii_bus to host_dev replacement
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 15 Sep 2014 21:48:08 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:52:48 +0000 (17:52 -0400)
commitc1f570a6abc192f047550743f9957b617af605af
treefb948bf83a01f3b2e5db24f3f6c0c31e9febc279
parent10ee1c34bedcc0e2a196d85ec87806fd111b5e79
net: dsa: fix mii_bus to host_dev replacement

dsa_of_probe() still used cd->mii_bus instead of cd->host_dev when
building with CONFIG_OF=y. Fix this by making the replacement here as
well.

Fixes: b4d2394d01b ("dsa: Replace mii_bus with a generic host device")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c