mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
This commit is contained in:
parent
bb1cafb8fc
commit
282a39546f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ err_nl:
|
||||||
err:
|
err:
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
module_init(wpan_phy_class_init);
|
subsys_initcall(wpan_phy_class_init);
|
||||||
|
|
||||||
static void __exit wpan_phy_class_exit(void)
|
static void __exit wpan_phy_class_exit(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue