ixp4xx: use the right parameter for ixp4xx_phy_disconnect
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22651 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0cffb6ab42
commit
59afd77d33
|
@ -104,7 +104,7 @@
|
|||
|
||||
err_phy_dis:
|
||||
- phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(dev);
|
||||
err_free_mem:
|
||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
err_phy_dis:
|
||||
- phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(dev);
|
||||
err_free_mem:
|
||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
err_phy_dis:
|
||||
- phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(dev);
|
||||
err_free_mem:
|
||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
err_phy_dis:
|
||||
- phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(port->phydev);
|
||||
+ ixp4xx_phy_disconnect(dev);
|
||||
err_free_mem:
|
||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
|
Loading…
Reference in New Issue