diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-12 15:58:23 -0500 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-11-12 16:07:15 -0500 |
commit | 282a39546f6d213399b325ec830ee37e8d915924 (patch) | |
tree | 84ac4555bce52161bacdff2cb45ef6f37aa3ad5e /net | |
parent | bb1cafb8fc414d6dbe933f888df6540c2ef02101 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/ieee802154/wpan-class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c index 38bac70cca10..268691256a6d 100644 --- a/net/ieee802154/wpan-class.c +++ b/net/ieee802154/wpan-class.c | |||
@@ -205,7 +205,7 @@ err_nl: | |||
205 | err: | 205 | err: |
206 | return rc; | 206 | return rc; |
207 | } | 207 | } |
208 | module_init(wpan_phy_class_init); | 208 | subsys_initcall(wpan_phy_class_init); |
209 | 209 | ||
210 | static void __exit wpan_phy_class_exit(void) | 210 | static void __exit wpan_phy_class_exit(void) |
211 | { | 211 | { |