lantiq: xrx200_net compile fix
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37126
This commit is contained in:
parent
5b5fd9f92d
commit
fdfbac75c2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
+ phydev = phy_connect(dev, dev_name(&phydev->dev), &xrx200_mdio_link,
|
||||||
+ 0, port->phy_if);
|
+ port->phy_if);
|
||||||
+
|
+
|
||||||
+ if (IS_ERR(phydev)) {
|
+ if (IS_ERR(phydev)) {
|
||||||
+ netdev_err(dev, "Could not attach to PHY\n");
|
+ netdev_err(dev, "Could not attach to PHY\n");
|
||||||
|
|
Loading…
Reference in a new issue