summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:38:39 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-12 12:40:27 +0300
commitbd388a2c810282de8a4ff14d3c07816860d72ef9 (patch)
treef68f133d9583d8d9afe4a2e1b519e6a67fa2941a /drivers/video
parent7e46cd705fd8aa458590ad38cf896b5aff525334 (diff)
downloadlwn-bd388a2c810282de8a4ff14d3c07816860d72ef9.tar.gz
lwn-bd388a2c810282de8a4ff14d3c07816860d72ef9.zip
video: fbdev: imxfb: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/imxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c
index 84d1d29e532c..cee88603efc9 100644
--- a/drivers/video/fbdev/imxfb.c
+++ b/drivers/video/fbdev/imxfb.c
@@ -170,7 +170,7 @@ struct imxfb_info {
struct regulator *lcd_pwr;
};
-static struct platform_device_id imxfb_devtype[] = {
+static const struct platform_device_id imxfb_devtype[] = {
{
.name = "imx1-fb",
.driver_data = IMX1_FB,