diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index a36e83a0c913..6b8e7f3faba0 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -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) {