ixp4xx: use the right parameter for ixp4xx_phy_disconnect
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:48 +0000 (21:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:48 +0000 (21:07 +0000)
SVN-Revision: 22651

target/linux/ixp4xx/patches-2.6.32/205-npe_driver_separate_phy_functions.patch
target/linux/ixp4xx/patches-2.6.33/205-npe_driver_separate_phy_functions.patch
target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch
target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch

index b9835a0..9b8faeb 100644 (file)
  
  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);
index b9835a0..9b8faeb 100644 (file)
  
  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);
index 20109f7..9aeee2d 100644 (file)
  
  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);
index a4086ab..140ebb7 100644 (file)
  
  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);