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)
commit99c20aa373641cbadf5d785b9d402019450e9fbf
tree5e48cbfdd36a7a90268a141df48ce94d35f98224
parent76a2fff9b3ee503dac514035c72706a3f7c94245
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