fbcon: Change fbcon_init from module_init to fs_initcall
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Nov 2014 12:26:54 +0000 (13:26 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 14 Nov 2014 13:29:11 +0000 (15:29 +0200)
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>
drivers/video/console/fbcon.c

index eb976ee3a02f30d6fd751c813318c18fbf026627..ea437245562e6d7115c85ac44ad0bef81f20d28e 100644 (file)
@@ -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
 
This page took 0.035274 seconds and 5 git commands to generate.