Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Tomi Valkeinen
bd388a2c 7e46cd70

+1 -1
+1 -1
drivers/video/fbdev/imxfb.c
··· 170 170 struct regulator *lcd_pwr; 171 171 }; 172 172 173 - static struct platform_device_id imxfb_devtype[] = { 173 + static const struct platform_device_id imxfb_devtype[] = { 174 174 { 175 175 .name = "imx1-fb", 176 176 .driver_data = IMX1_FB,