diff options
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | 2015-02-09 14:02:27 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-02 14:17:24 +0300 |
commit | 5d802441a160efa27d51b884e9b6f98fc3c8decd (patch) | |
tree | a178348ef39f90963d77b199d487c636a896a6b0 /drivers/video | |
parent | 233b2ebe90d381dc477f990b7624fa8d21df3e22 (diff) | |
download | linux-5d802441a160efa27d51b884e9b6f98fc3c8decd.tar.xz |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/imxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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], |