From: Heiko Carstens Date: Fri, 28 Apr 2006 22:19:17 +0000 (-0700) Subject: [IPV4]: inet_init() -> fs_initcall X-Git-Tag: v2.6.17-rc4~101^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a536e0778781c1f2ce38cf8e1d82ce258f0193c1;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index dc206f1f91..0a27745352 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); /* ------------------------------------------------------------------------ */