mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
mctp: Do inits as a subsys_initcall
In a future change, we'll want to provide a registration call for mctp-specific devices. This requires us to have the networks established before device driver inits, so run the core init as a subsys_initcall. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4f9e1ba6de
commit
97f09abffc
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ static __exit void mctp_exit(void)
|
|||
sock_unregister(PF_MCTP);
|
||||
}
|
||||
|
||||
module_init(mctp_init);
|
||||
subsys_initcall(mctp_init);
|
||||
module_exit(mctp_exit);
|
||||
|
||||
MODULE_DESCRIPTION("MCTP core");
|
||||
|
|
Loading…
Reference in a new issue