]> err.no Git - linux-2.6/commitdiff
[IPV4]: inet_init() -> fs_initcall
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 28 Apr 2006 22:19:17 +0000 (15:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 30 Apr 2006 01:33:14 +0000 (18:33 -0700)
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>
net/ipv4/af_inet.c

index dc206f1f914f51af724d2a8e6f21240f9956cd9b..0a277453526b9c9730475b77368bfdb0cae2b894 100644 (file)
@@ -1257,7 +1257,7 @@ out_unregister_udp_proto:
        goto out;
 }
 
-module_init(inet_init);
+fs_initcall(inet_init);
 
 /* ------------------------------------------------------------------------ */