Explorar o código

[PATCH] emac netpoll fix

netpoll is void(struct net_device *), not int(struct net_device *)

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro %!s(int64=20) %!d(string=hai) anos
pai
achega
530d8e9738
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      drivers/net/ibm_emac/ibm_emac_core.c

+ 1 - 2
drivers/net/ibm_emac/ibm_emac_core.c

@@ -1712,11 +1712,10 @@ struct mal_commac_ops emac_commac_ops = {
 };
 };
 
 
 #ifdef CONFIG_NET_POLL_CONTROLLER
 #ifdef CONFIG_NET_POLL_CONTROLLER
-static int emac_netpoll(struct net_device *ndev)
+static void emac_netpoll(struct net_device *ndev)
 {
 {
 	emac_rxeob_dev((void *)ndev, 0);
 	emac_rxeob_dev((void *)ndev, 0);
 	emac_txeob_dev((void *)ndev, 0);
 	emac_txeob_dev((void *)ndev, 0);
-	return 0;
 }
 }
 #endif
 #endif