Commit 2023d84d authored by Guido Martínez's avatar Guido Martínez Committed by Dave Airlie

drm/tilcdc: replace late_initcall with module_init

Use module_init instead of late_initcall, as is the norm for modular
drivers.

module_init was used until 6e8de0bd
("drm/tilcdc: add encoder slave (v2)") changed it to a late_initcall,
but it does not explain why. Tests show it's working properly with
module_init.
Signed-off-by: default avatarGuido Martínez <guido@vanguardiasur.com.ar>
Tested-by: default avatarDarren Etheridge <detheridge@ti.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 7cdcce9f
...@@ -629,7 +629,7 @@ static void __exit tilcdc_drm_fini(void) ...@@ -629,7 +629,7 @@ static void __exit tilcdc_drm_fini(void)
tilcdc_tfp410_fini(); tilcdc_tfp410_fini();
} }
late_initcall(tilcdc_drm_init); module_init(tilcdc_drm_init);
module_exit(tilcdc_drm_fini); module_exit(tilcdc_drm_fini);
MODULE_AUTHOR("Rob Clark <robdclark@gmail.com"); MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment