summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-04-28 15:19:17 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-04-29 18:33:14 -0700
commita536e0778781c1f2ce38cf8e1d82ce258f0193c1 (patch)
treee52714e23788874026242c0a6931f65413d8ce2b /net
parent09493abfdbe8144ce0805efac7a8a3c4eb869c12 (diff)
downloadop-kernel-dev-a536e0778781c1f2ce38cf8e1d82ce258f0193c1.zip
op-kernel-dev-a536e0778781c1f2ce38cf8e1d82ce258f0193c1.tar.gz
[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 dc206f1..0a27745 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);
/* ------------------------------------------------------------------------ */
OpenPOWER on IntegriCloud