From 5d802441a160efa27d51b884e9b6f98fc3c8decd Mon Sep 17 00:00:00 2001 From: Sanjeev Sharma Date: Mon, 9 Feb 2015 16:32:27 +0530 Subject: video: fbdev: make of_device_id array const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make of_device_id array const. Signed-off-by: Sanjeev Sharma Acked-by: Uwe Kleine-König Signed-off-by: Tomi Valkeinen --- drivers/video/fbdev/imxfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video') 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], -- cgit v1.2.3