ixp4xx: use the right parameter for ixp4xx_phy_disconnect
[openwrt/openwrt.git] / target / linux / ixp4xx / patches-2.6.34 / 205-npe_driver_separate_phy_functions.patch
index 20109f71d9853d19b5d43fda8910f3b35ea3cf27..9aeee2dea2a33676e48963fb14b0eaea2027a44e 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);