提交 530d8e97 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] emac netpoll fix

netpoll is void(struct net_device *), not int(struct net_device *)
Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 791cdc7c
...@@ -1712,11 +1712,10 @@ struct mal_commac_ops emac_commac_ops = { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册