ixp4xx: use the right parameter for ixp4xx_phy_disconnect
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / patches-2.6.35 / 205-npe_driver_separate_phy_functions.patch
index a4086ab1bcd06bc5a1478b4c4c7c0da2d4ba05bb..140ebb731e22a7e9a9887d1f4ddd663c8dd908ca 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);