summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-04-29 00:19:17 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-04-30 03:33:14 +0200
commita536e0778781c1f2ce38cf8e1d82ce258f0193c1 (patch)
treee52714e23788874026242c0a6931f65413d8ce2b /net
parent[NETLINK]: cleanup unused macro in net/netlink/af_netlink.c (diff)
downloadlinux-a536e0778781c1f2ce38cf8e1d82ce258f0193c1.tar.xz
linux-a536e0778781c1f2ce38cf8e1d82ce258f0193c1.zip
[IPV4]: inet_init() -> fs_initcall
Convert inet_init to an fs_initcall to make sure its called before any device driver's initcall. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index dc206f1f914f..0a277453526b 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1257,7 +1257,7 @@ out_unregister_udp_proto:
goto out;
}
-module_init(inet_init);
+fs_initcall(inet_init);
/* ------------------------------------------------------------------------ */