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

video: fbdev: mxsfb: 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
99e62ef2 bd388a2c

+1 -1
+1 -1
drivers/video/fbdev/mxsfb.c
··· 848 848 free_pages_exact(fb_info->screen_base, fb_info->fix.smem_len); 849 849 } 850 850 851 - static struct platform_device_id mxsfb_devtype[] = { 851 + static const struct platform_device_id mxsfb_devtype[] = { 852 852 { 853 853 .name = "imx23-fb", 854 854 .driver_data = MXSFB_V3,