ar71xx: ag71xx: fix mii_bus_dev sanity check
authorGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:41 +0000 (12:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:41 +0000 (12:12 +0000)
commit9edcd9d3a3da8470c006488ab599e560a596b548
tree64ac6f37180c3674d6441d0631cffa1d122b30c0
parentad0f03d2503bdf9f8c50896915ddbb54d4ed2bd0
ar71xx: ag71xx: fix mii_bus_dev sanity check

The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34849
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c