mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-29 10:02:23 +00:00
ixp4xx: use the right parameter for ixp4xx_phy_disconnect
SVN-Revision: 22651
This commit is contained in:
parent
fb029983ee
commit
47a940def6
@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
err_phy_dis:
|
err_phy_dis:
|
||||||
- phy_disconnect(port->phydev);
|
- phy_disconnect(port->phydev);
|
||||||
+ ixp4xx_phy_disconnect(port->phydev);
|
+ ixp4xx_phy_disconnect(dev);
|
||||||
err_free_mem:
|
err_free_mem:
|
||||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||||
platform_set_drvdata(pdev, NULL);
|
platform_set_drvdata(pdev, NULL);
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
err_phy_dis:
|
err_phy_dis:
|
||||||
- phy_disconnect(port->phydev);
|
- phy_disconnect(port->phydev);
|
||||||
+ ixp4xx_phy_disconnect(port->phydev);
|
+ ixp4xx_phy_disconnect(dev);
|
||||||
err_free_mem:
|
err_free_mem:
|
||||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||||
platform_set_drvdata(pdev, NULL);
|
platform_set_drvdata(pdev, NULL);
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
err_phy_dis:
|
err_phy_dis:
|
||||||
- phy_disconnect(port->phydev);
|
- phy_disconnect(port->phydev);
|
||||||
+ ixp4xx_phy_disconnect(port->phydev);
|
+ ixp4xx_phy_disconnect(dev);
|
||||||
err_free_mem:
|
err_free_mem:
|
||||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||||
platform_set_drvdata(pdev, NULL);
|
platform_set_drvdata(pdev, NULL);
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
err_phy_dis:
|
err_phy_dis:
|
||||||
- phy_disconnect(port->phydev);
|
- phy_disconnect(port->phydev);
|
||||||
+ ixp4xx_phy_disconnect(port->phydev);
|
+ ixp4xx_phy_disconnect(dev);
|
||||||
err_free_mem:
|
err_free_mem:
|
||||||
npe_port_tab[NPE_ID(port->id)] = NULL;
|
npe_port_tab[NPE_ID(port->id)] = NULL;
|
||||||
platform_set_drvdata(pdev, NULL);
|
platform_set_drvdata(pdev, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user