Skip to content

Commit

Permalink
video: fbdev: make of_device_id array const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sanjeev Sharma authored and Tomi Valkeinen committed Mar 2, 2015
1 parent 233b2eb commit 5d80244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/imxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 5d80244

Please sign in to comment.