[PATCH] (35/43) emac netpoll fix
From: Al Viro
Date: Tue Aug 23 2005 - 16:48:30 EST
netpoll is void(struct net_device *), not int(struct net_device *)
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
----
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/