diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 0e424f51ee57..40402e7d6118 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3464,7 +3464,11 @@ static int __init panel_simple_init(void) return 0; } +#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT +rootfs_initcall(panel_simple_init); +#else module_init(panel_simple_init); +#endif static void __exit panel_simple_exit(void) {