Commit 5d802441 authored by Sanjeev Sharma's avatar Sanjeev Sharma Committed by Tomi Valkeinen

video: fbdev: make of_device_id array const

Make of_device_id array const.
Signed-off-by: default avatarSanjeev Sharma <Sanjeev_Sharma@mentor.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 233b2ebe
...@@ -183,7 +183,7 @@ static struct platform_device_id imxfb_devtype[] = { ...@@ -183,7 +183,7 @@ static struct platform_device_id imxfb_devtype[] = {
}; };
MODULE_DEVICE_TABLE(platform, 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", .compatible = "fsl,imx1-fb",
.data = &imxfb_devtype[IMX1_FB], .data = &imxfb_devtype[IMX1_FB],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment