]> git.baikalelectronics.ru Git - kernel.git/commit
simplefb: Change simplefb_init from module_init to fs_initcall
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Nov 2014 12:26:55 +0000 (13:26 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 14 Nov 2014 13:29:14 +0000 (15:29 +0200)
commita22f8c29341101a88d32d423b14e4487bcbce993
tree1bf063564df7ae0f44e95a1c355cdaa6bb0c5523
parent182be09fc1f1ea76d68eda312e2d23884e194105
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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/simplefb.c