From fa45f2c720e808426824169a42b0d6d5f6325860 Mon Sep 17 00:00:00 2001 From: Jiada Wang Date: Fri, 7 Jun 2013 18:36:46 +0900 Subject: [PATCH] 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. Signed-off-by: Jiada Wang Signed-off-by: Greg Kroah-Hartman --- 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 f324ed388547..cea9f14fff4a 100644 --- a/drivers/staging/imx-drm/parallel-display.c +++ b/drivers/staging/imx-drm/parallel-display.c @@ -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, -- GitLab