Skip to content

Commit

Permalink
simplefb: Change simplefb_init from module_init to fs_initcall
Browse files Browse the repository at this point in the history
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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Hans de Goede authored and Tomi Valkeinen committed Nov 14, 2014
1 parent ba168a3 commit 0c5b240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/simplefb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0c5b240

Please sign in to comment.