]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
video: fbdev: make of_device_id array const
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Mon, 9 Feb 2015 11:02:27 +0000 (16:32 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 2 Mar 2015 11:17:24 +0000 (13:17 +0200)
Make of_device_id array const.

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/imxfb.c

index 3b6a3c8c36e295e3cad7870643479bfa3f61bfbd..84d1d29e532cb6ceed4c698b16e249dc69476c36 100644 (file)
@@ -183,7 +183,7 @@ static struct platform_device_id imxfb_devtype[] = {
 };
 MODULE_DEVICE_TABLE(platform, imxfb_devtype);
 
-static struct of_device_id imxfb_of_dev_id[] = {
+static const struct of_device_id imxfb_of_dev_id[] = {
        {
                .compatible = "fsl,imx1-fb",
                .data = &imxfb_devtype[IMX1_FB],