Skip to contentSkip to conversation

staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display

PATCH New Jiada Wang 2 participants 2 messages Jun 7, 2013 – Jun 17, 2013

Subsystems (2)
lore
Share & tools
lore

Jiada Wang

author
#0 lore raw

PATCH 1/1 staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display

Add a MODULE_DEVICE_TABLE annotation so that parallel display module can be autoloaded based on the device-tree information.

---
 drivers/staging/imx-drm/parallel-display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/imx-drm/parallel-display.c +1 -0
index e7fba62..3c4e2c6 100644
@@ -265,6 +265,7 @@ static const struct of_device_id imx_pd_dt_ids[] = {
 	{ .compatible = "fsl,imx-parallel-display", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx_pd_dt_ids);
 
 static struct platform_driver imx_pd_driver = {
 	.probe		= imx_pd_probe,
Signature · 1 line
1.8.1.1
maintainer
#1 lore raw

PATCH 1/1 staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display

Quoted 4 lines · Jiada Wang

Add a MODULE_DEVICE_TABLE annotation so that parallel display module can be autoloaded based on the device-tree information.

Sascha

Quoted 20 lines
---
 drivers/staging/imx-drm/parallel-display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/imx-drm/parallel-display.c +1 -0
index e7fba62..3c4e2c6 100644
@@ -265,6 +265,7 @@ static const struct of_device_id imx_pd_dt_ids[] = {
 	{ .compatible = "fsl,imx-parallel-display", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx_pd_dt_ids);
 
 static struct platform_driver imx_pd_driver = {
 	.probe		= imx_pd_probe,
Signature · 1 line
1.8.1.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |