mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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 6e8de0bd6a
("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: Guido Martínez <guido@vanguardiasur.com.ar>
Tested-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
7cdcce9f8b
commit
2023d84d2c
1 changed files with 1 additions and 1 deletions
|
|
@ -629,7 +629,7 @@ static void __exit tilcdc_drm_fini(void)
|
|||
tilcdc_tfp410_fini();
|
||||
}
|
||||
|
||||
late_initcall(tilcdc_drm_init);
|
||||
module_init(tilcdc_drm_init);
|
||||
module_exit(tilcdc_drm_fini);
|
||||
|
||||
MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");
|
||||
|
|
|
|||
Loading…
Reference in a new issue