Skip to contentSkip to conversation

netdev: fix smc911 compile error

PATCH In review Chuck Ebbert 2 participants 2 messages Dec 23, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netdev: fix smc911 compile error

From: Vitaly Wool <[email protected]>

Fix compilation failure for smc911x.c when NET_POLL_CONTROLLER is set.

---
Is not upstream and doesn't seem to be in upstream-fixes either.

drivers/net/smc911x.c +1 -1
@@ -1331,7 +1331,7 @@ smc911x_rx_dma_irq(int dma, void *data)
 static void smc911x_poll_controller(struct net_device *dev)
 {
 	disable_irq(dev->irq);
-	smc911x_interrupt(dev->irq, dev, NULL);
+	smc911x_interrupt(dev->irq, dev);
 	enable_irq(dev->irq);
 }
 #endif
#1 lore raw
Quoted 7 lines · Chuck Ebbert

From: Vitaly Wool <[email protected]>

Fix compilation failure for smc911x.c when NET_POLL_CONTROLLER is set.

---
Is not upstream and doesn't seem to be in upstream-fixes either.

It's in Linus's upstream. netdev-2.6.git#upstream is a few days behind.

Jeff