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