提交 0c5b240c 编写于 作者: H Hans de Goede 提交者: Tomi Valkeinen

simplefb: Change simplefb_init from module_init to fs_initcall

One of the reasons for having the simplefb nodes in /chosen, and doing
explicit enumeration of the nodes there, is too allow enumerating them sooner,
so that we get a console earlier on.

Doing this earlier then fs_initcall is not useful, since the fb only turns
into a console when fbcon intializes, which is a fs_initcall too.
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 ba168a3c
......@@ -413,7 +413,7 @@ static int __init simplefb_init(void)
return 0;
}
module_init(simplefb_init);
fs_initcall(simplefb_init);
MODULE_AUTHOR("Stephen Warren <swarren@wwwdotorg.org>");
MODULE_DESCRIPTION("Simple framebuffer driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册