aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/cassini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 544ab0bb174c..53237ac0f83a 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -2586,7 +2586,7 @@ static int cas_poll(struct napi_struct *napi, int budget)
2586{ 2586{
2587 struct cas *cp = container_of(napi, struct cas, napi); 2587 struct cas *cp = container_of(napi, struct cas, napi);
2588 struct net_device *dev = cp->dev; 2588 struct net_device *dev = cp->dev;
2589 int i, enable_intr, todo, credits; 2589 int i, enable_intr, credits;
2590 u32 status = readl(cp->regs + REG_INTR_STATUS); 2590 u32 status = readl(cp->regs + REG_INTR_STATUS);
2591 unsigned long flags; 2591 unsigned long flags;
2592 2592
@@ -4350,7 +4350,7 @@ static int cas_close(struct net_device *dev)
4350 struct cas *cp = netdev_priv(dev); 4350 struct cas *cp = netdev_priv(dev);
4351 4351
4352#ifdef USE_NAPI 4352#ifdef USE_NAPI
4353 napi_enable(&cp->napi); 4353 napi_disable(&cp->napi);
4354#endif 4354#endif
4355 /* Make sure we don't get distracted by suspend/resume */ 4355 /* Make sure we don't get distracted by suspend/resume */
4356 mutex_lock(&cp->pm_mutex); 4356 mutex_lock(&cp->pm_mutex);