Commit 471a24c0 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

[WAN]: fix section mismatch warning in sbni

In latest -mm sbni gives following warning: WARNING:
drivers/net/wan/sbni.o - Section mismatch: reference to \
from .text between 'init_module' (at offset 0x14ef) and \

The warning is caused by init_module() calling a function declared
__init.  Declare init_module() __init too to fix warning.
Signed-off-by: default avatarSam Ravnborg <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarDavid S. Miller <>
parent e3968fc0
......@@ -1495,8 +1495,7 @@ module_param(skip_pci_probe, bool, 0);
init_module( void )
int __init init_module( void )
struct net_device *dev;
int err;
Supports Markdown
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