[PATCH] (35/43) emac netpoll fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Al Viro <[email protected]>
----
diff -urN RC13-rc6-git13-vidc/drivers/net/ibm_emac/ibm_emac_core.c RC13-rc6-git13-emac-netpoll/drivers/net/ibm_emac/ibm_emac_core.c
--- RC13-rc6-git13-vidc/drivers/net/ibm_emac/ibm_emac_core.c	2005-06-17 15:48:29.000000000 -0400
+++ RC13-rc6-git13-emac-netpoll/drivers/net/ibm_emac/ibm_emac_core.c	2005-08-21 13:17:16.000000000 -0400
@@ -1712,11 +1712,10 @@
 };
 
 #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_txeob_dev((void *)ndev, 0);
-	return 0;
 }
 #endif
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux