drm: atmel-hlcdc: Fix module autoload for OF platform driver
PATCH 1/5 drm: atmel-hlcdc: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1 -0
@@ -342,6 +342,7 @@ static const struct of_device_id atmel_hlcdc_of_match[] = { }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, atmel_hlcdc_of_match);int atmel_hlcdc_dc_mode_valid (struct atmel_hlcdc_dc *dc,struct drm_display_mode *mode)
Signature · 1 line
2.4.6
Hi Luis,
Quoted 4 lines · On Thu, 17 Sep 2015 16:20:43 +0200 Luis de Bethencourt…
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>
Acked-by Boris Brezillon <[email protected]>
Thanks,
Boris
Quoted 16 lines
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-0@@ -342,6 +342,7 @@ static const struct of_device_id atmel_hlcdc_of_match[] = { }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE (of, atmel_hlcdc_of_match);int atmel_hlcdc_dc_mode_valid (struct atmel_hlcdc_dc *dc,struct drm_display_mode *mode)
Signature · 7 lines
Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel