ieee802154: make wpan-phy class registration to subsys_initcall
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 12 Nov 2009 20:58:23 +0000 (23:58 +0300)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 12 Nov 2009 21:07:15 +0000 (00:07 +0300)
commit282a39546f6d213399b325ec830ee37e8d915924
tree84ac4555bce52161bacdff2cb45ef6f37aa3ad5e
parentbb1cafb8fc414d6dbe933f888df6540c2ef02101
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>
net/ieee802154/wpan-class.c