提交 282a3954 编写于 作者: D Dmitry Eremin-Solenikov

ieee802154: make wpan-phy class registration to subsys_initcall

Move ieee802154 initialisation to subsys_initcall call, so that
wpan-phy class is initialised before all devices (thus saving us from
oops during bootup).
Signed-off-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
上级 bb1cafb8
......@@ -205,7 +205,7 @@ static int __init wpan_phy_class_init(void)
err:
return rc;
}
module_init(wpan_phy_class_init);
subsys_initcall(wpan_phy_class_init);
static void __exit wpan_phy_class_exit(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册