aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorGuido Martínez <guido@vanguardiasur.com.ar>2014-06-17 10:17:11 -0400
committerDave Airlie <airlied@redhat.com>2014-07-07 21:25:37 -0400
commit2023d84d2c3b7a4b8fc5c64c08c59c4e1505e2d3 (patch)
tree7d5bd30c4244f0f58aa307b1b908d82d609711d2 /drivers/gpu/drm/tilcdc
parent7cdcce9f8b4c15dc55f880307b844a49127db86e (diff)
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 6e8de0bd6a51fdeebd5d975c4fcc426f730b339b ("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>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 2c860c41dfdb..6be623b4a86f 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -629,7 +629,7 @@ static void __exit tilcdc_drm_fini(void)
629 tilcdc_tfp410_fini(); 629 tilcdc_tfp410_fini();
630} 630}
631 631
632late_initcall(tilcdc_drm_init); 632module_init(tilcdc_drm_init);
633module_exit(tilcdc_drm_fini); 633module_exit(tilcdc_drm_fini);
634 634
635MODULE_AUTHOR("Rob Clark <robdclark@gmail.com"); 635MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");