staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display
authorJiada Wang <jiada_wang@mentor.com>
Fri, 7 Jun 2013 09:36:46 +0000 (18:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2013 05:12:06 +0000 (22:12 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/parallel-display.c

index f324ed3..cea9f14 100644 (file)
@@ -255,6 +255,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,