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