projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
233b2eb
)
video: fbdev: make of_device_id array const
author
Sanjeev Sharma
<sanjeev_sharma@mentor.com>
Mon, 9 Feb 2015 11:02:27 +0000
(16:32 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 2 Mar 2015 11:17:24 +0000
(13:17 +0200)
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>
drivers/video/fbdev/imxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/imxfb.c
b/drivers/video/fbdev/imxfb.c
index 3b6a3c8c36e295e3cad7870643479bfa3f61bfbd..84d1d29e532cb6ceed4c698b16e249dc69476c36 100644
(file)
--- 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],