aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/smc91x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index b0c92b60c925..ea4fae79d6ec 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -2387,7 +2387,7 @@ static int smc_drv_resume(struct device *dev)
2387 2387
2388 if (ndev) { 2388 if (ndev) {
2389 struct smc_local *lp = netdev_priv(ndev); 2389 struct smc_local *lp = netdev_priv(ndev);
2390 smc_enable_device(dev); 2390 smc_enable_device(pdev);
2391 if (netif_running(ndev)) { 2391 if (netif_running(ndev)) {
2392 smc_reset(ndev); 2392 smc_reset(ndev);
2393 smc_enable(ndev); 2393 smc_enable(ndev);