summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r--net/ipv4/ipconfig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index 82e443d4d..bcdd71354 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -821,7 +821,7 @@ static int __init ic_dynamic(void)
* IP Autoconfig dispatcher.
*/
-int __init ip_auto_config(void)
+static int __init ip_auto_config(void)
{
if (!ic_enable)
return 0;
@@ -879,6 +879,9 @@ int __init ip_auto_config(void)
return 0;
}
+module_init(ip_auto_config);
+
+
/*
* Decode any IP configuration options in the "ip=" or "nfsaddrs=" kernel
* command line parameter. It consists of option fields separated by colons in