drm/tilcdc: replace late_initcall with module_init
authorGuido Martínez <guido@vanguardiasur.com.ar>
Tue, 17 Jun 2014 14:17:11 +0000 (11:17 -0300)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Jul 2014 01:25:37 +0000 (11:25 +1000)
commit2023d84d2c3b7a4b8fc5c64c08c59c4e1505e2d3
tree7d5bd30c4244f0f58aa307b1b908d82d609711d2
parent7cdcce9f8b4c15dc55f880307b844a49127db86e
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>
drivers/gpu/drm/tilcdc/tilcdc_drv.c