Commit 2705d4f8 authored by Hannes Eder's avatar Hannes Eder Committed by 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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d76e56b4
......@@ -929,7 +929,7 @@ static void __init ne_add_devices(void)
}
#ifdef MODULE
int __init init_module()
int __init init_module(void)
{
int retval;
ne_add_devices();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment