mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
233b2ebe90
commit
5d802441a1
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue