Skip to content

Commit

Permalink
fbcon: Change fbcon_init from module_init to fs_initcall
Browse files Browse the repository at this point in the history
Various fb drivers register themselves before module_init so as to have a
console as early as possible, this is of little use if fbcon does not
initialize early too.

Fbcon cannot initialize earlier then fs_initcall, because then the creation
of /sys/class/graphics/fbcon will fail.

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 89c9500 commit ba168a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -3624,7 +3624,7 @@ static int __init fb_console_init(void)
return 0;
}

module_init(fb_console_init);
fs_initcall(fb_console_init);

#ifdef MODULE

Expand Down

0 comments on commit ba168a3

Please sign in to comment.