[IPV4]: inet_init() -> fs_initcall
authorHeiko Carstens <[email protected]>
Fri, 28 Apr 2006 22:19:17 +0000 (15:19 -0700)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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);
 
 /* ------------------------------------------------------------------------ */