[PATCH 05/11] m68k: Atari EtherNAT - Fix up type mismatch in smc_drv_resume().

Geert Uytterhoeven
2010-05-26T17:49:18Z

Cfr. commit 5fc3441349936ea6f1f95a1ef17492223c76a695 ("net: smc91x: Fix up type
mismatch in smc_drv_resume().")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/net/atari_91C111.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/atari_91C111.c b/drivers/net/atari_91C111.c
index 40b251c..40a3774 100644
--- a/drivers/net/atari_91C111.c
+++ b/drivers/net/atari_91C111.c
@@ -2387,7 +2387,7 @@ static int smc_drv_resume(struct device *dev)

if (ndev) {
struct smc_local *lp = netdev_priv(ndev);
- smc_enable_device(dev);
+ smc_enable_device(pdev);
if (netif_running(ndev)) {
smc_reset(ndev);
smc_enable(ndev);
--
1.7.0.4