Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 282a3954 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov
Browse files

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: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
parent bb1cafb8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{