Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: fbdev: make of_device_id array const

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>

authored by

Sanjeev Sharma and committed by
Tomi Valkeinen
5d802441 233b2ebe

+1 -1
+1 -1
drivers/video/fbdev/imxfb.c
··· 183 183 }; 184 184 MODULE_DEVICE_TABLE(platform, imxfb_devtype); 185 185 186 - static struct of_device_id imxfb_of_dev_id[] = { 186 + static const struct of_device_id imxfb_of_dev_id[] = { 187 187 { 188 188 .compatible = "fsl,imx1-fb", 189 189 .data = &imxfb_devtype[IMX1_FB],