Skip to content

Commit

Permalink
[IPV4]: inet_init() -> fs_initcall
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and David S. Miller committed Apr 30, 2006
1 parent 09493ab commit a536e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/af_inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ static int __init inet_init(void)
goto out;
}

module_init(inet_init);
fs_initcall(inet_init);

/* ------------------------------------------------------------------------ */

Expand Down

0 comments on commit a536e07

Please sign in to comment.