Browse Source

[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>
Heiko Carstens 19 years ago
parent
commit
a536e07787
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/ipv4/af_inet.c

+ 1 - 1
net/ipv4/af_inet.c

@@ -1257,7 +1257,7 @@ out_unregister_udp_proto:
 	goto out;
 	goto out;
 }
 }
 
 
-module_init(inet_init);
+fs_initcall(inet_init);
 
 
 /* ------------------------------------------------------------------------ */
 /* ------------------------------------------------------------------------ */