lantiq: xrx200_net compile fix

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37126
This commit is contained in:
John Crispin 2013-07-02 09:34:45 +00:00
parent 5b5fd9f92d
commit fdfbac75c2

View file

@ -904,7 +904,7 @@ Subject: [PATCH 07/22] NET: MIPS: lantiq: adds xrx200-net
+ }
+
+ phydev = phy_connect(dev, dev_name(&phydev->dev), &xrx200_mdio_link,
+ 0, port->phy_if);
+ port->phy_if);
+
+ if (IS_ERR(phydev)) {
+ netdev_err(dev, "Could not attach to PHY\n");