mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/panel: simple: Call panel_simple_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Moving panel_simple_init() to the rootfs_initcall level. Before rockchip_drm_init(). Change-Id: If74f0888e0120189b58c8eb96485eb3c9ada7e4f Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -5312,7 +5312,11 @@ err_did_platform_register:
|
||||
|
||||
return err;
|
||||
}
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
rootfs_initcall(panel_simple_init);
|
||||
#else
|
||||
module_init(panel_simple_init);
|
||||
#endif
|
||||
|
||||
static void __exit panel_simple_exit(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user