Skip to contentSkip to conversation

drm: imx: imx-tve: Fix module autoload for OF platform driver

PATCH In review Luis de Bethencourt 1 participant 1 message Sep 17, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/5 drm: imx: imx-tve: 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.

---
 drivers/gpu/drm/imx/imx-tve.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/imx/imx-tve.c +1 -0
index e671ad3..f959714 100644
@@ -721,6 +721,7 @@ static const struct of_device_id imx_tve_dt_ids[] = {
 	{ .compatible = "fsl,imx53-tve", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx_tve_dt_ids);
 
 static struct platform_driver imx_tve_driver = {
 	.probe		= imx_tve_probe,
Signature · 1 line
2.4.6