From: Sanjeev Sharma Date: Mon, 9 Feb 2015 11:02:27 +0000 (+0530) Subject: video: fbdev: make of_device_id array const X-Git-Tag: firefly_0821_release~176^2~1914^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d802441a160efa27d51b884e9b6f98fc3c8decd;p=firefly-linux-kernel-4.4.55.git video: fbdev: make of_device_id array const Make of_device_id array const. Signed-off-by: Sanjeev Sharma Acked-by: Uwe Kleine-König Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 3b6a3c8c36e2..84d1d29e532c 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c @@ -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],