From 47a940def6308aca5db0c7d33dafbae87c5d044e Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sat, 14 Aug 2010 21:07:48 +0000
Subject: [PATCH] ixp4xx: use the right parameter for ixp4xx_phy_disconnect

SVN-Revision: 22651
---
 .../patches-2.6.32/205-npe_driver_separate_phy_functions.patch  | 2 +-
 .../patches-2.6.33/205-npe_driver_separate_phy_functions.patch  | 2 +-
 .../patches-2.6.34/205-npe_driver_separate_phy_functions.patch  | 2 +-
 .../patches-2.6.35/205-npe_driver_separate_phy_functions.patch  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ixp4xx/patches-2.6.32/205-npe_driver_separate_phy_functions.patch b/target/linux/ixp4xx/patches-2.6.32/205-npe_driver_separate_phy_functions.patch
index b9835a012b1..9b8faeb2c56 100644
--- a/target/linux/ixp4xx/patches-2.6.32/205-npe_driver_separate_phy_functions.patch
+++ b/target/linux/ixp4xx/patches-2.6.32/205-npe_driver_separate_phy_functions.patch
@@ -104,7 +104,7 @@
  
  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);
diff --git a/target/linux/ixp4xx/patches-2.6.33/205-npe_driver_separate_phy_functions.patch b/target/linux/ixp4xx/patches-2.6.33/205-npe_driver_separate_phy_functions.patch
index b9835a012b1..9b8faeb2c56 100644
--- a/target/linux/ixp4xx/patches-2.6.33/205-npe_driver_separate_phy_functions.patch
+++ b/target/linux/ixp4xx/patches-2.6.33/205-npe_driver_separate_phy_functions.patch
@@ -104,7 +104,7 @@
  
  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);
diff --git a/target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch b/target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch
index 20109f71d98..9aeee2dea2a 100644
--- a/target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch
+++ b/target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch
@@ -104,7 +104,7 @@
  
  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);
diff --git a/target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch b/target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch
index a4086ab1bcd..140ebb731e2 100644
--- a/target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch
+++ b/target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch
@@ -104,7 +104,7 @@
  
  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);
-- 
GitLab