提交 ad8affd9 编写于 作者: A Alexander Beregalov 提交者: David S. Miller

8390p: fix build breakage

Fix this build error caused by 362b76ed
"8390p: Get rid of init_module/cleanup_module"

drivers/net/8390p.c:94:19: error: invalid suffix "p_init_module" on integer constant
drivers/net/8390p.c:94: error: expected identifier or '(' before numeric constant
drivers/net/8390p.c:99:20: error: invalid suffix "p_cleanup_module" on integer constant
Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d93fe1a1
......@@ -91,15 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp)
}
EXPORT_SYMBOL(NS8390p_init);
static int __init 8390p_init_module(void)
static int __init NS8390p_init_module(void)
{
return 0;
}
static void __exit 8390p_cleanup_module(void)
static void __exit NS8390p_cleanup_module(void)
{
}
module_init(8390p_init_module);
module_exit(8390p_cleanup_module);
module_init(NS8390p_init_module);
module_exit(NS8390p_cleanup_module);
MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册