提交 97f09abf 编写于 作者: J Jeremy Kerr 提交者: David S. Miller

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: NJeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4f9e1ba6
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册