提交 2bf236d5 编写于 作者: M Michael Buesch 提交者: David S. Miller

rfkill: Use subsys_initcall

We must use subsys_initcall, because we must initialize before a
driver calls rfkill_register().
Signed-off-by: NMichael Buesch <mb@bu3sch.de>
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 ac71c691
......@@ -449,5 +449,5 @@ static void __exit rfkill_exit(void)
class_unregister(&rfkill_class);
}
module_init(rfkill_init);
subsys_initcall(rfkill_init);
module_exit(rfkill_exit);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册