From: Heiko Carstens Date: Fri, 28 Apr 2006 22:19:17 +0000 (-0700) Subject: [IPV4]: inet_init() -> fs_initcall X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a536e0778781c1f2ce38cf8e1d82ce258f0193c1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 dc206f1f914..0a277453526 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); /* ------------------------------------------------------------------------ */