Skip to content
Snippets Groups Projects
Commit 530d8e97 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] emac netpoll fix


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

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 791cdc7c
No related branches found
No related tags found
No related merge requests found
......@@ -1712,11 +1712,10 @@ struct mal_commac_ops emac_commac_ops = {
};
#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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment