提交 2705d4f8 编写于 作者: H Hannes Eder 提交者: David S. Miller

drivers/net: fix sparse warning: use ANSI-style function declaration

Fix this sparse warning:

  drivers/net/ne.c:932:24: warning: non-ANSI function declaration of function 'init_module'
Signed-off-by: NHannes Eder <hannes@hanneseder.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d76e56b4
...@@ -929,7 +929,7 @@ static void __init ne_add_devices(void) ...@@ -929,7 +929,7 @@ static void __init ne_add_devices(void)
} }
#ifdef MODULE #ifdef MODULE
int __init init_module() int __init init_module(void)
{ {
int retval; int retval;
ne_add_devices(); ne_add_devices();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册