linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display
@ 2013-06-07  9:36 Jiada Wang
  2013-06-17  7:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jiada Wang @ 2013-06-07  9:36 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
---
 drivers/staging/imx-drm/parallel-display.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c
index e7fba62..3c4e2c6 100644
--- a/drivers/staging/imx-drm/parallel-display.c
+++ b/drivers/staging/imx-drm/parallel-display.c
@@ -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,
-- 
1.8.1.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-17  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07  9:36 [PATCH] staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display Jiada Wang
2013-06-17  7:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).