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

video: fbdev: s3c-fb: 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
b06ece93 cb73b40e

+1 -1
+1 -1
drivers/video/fbdev/s3c-fb.c
··· 1938 1938 }, 1939 1939 }; 1940 1940 1941 - static struct platform_device_id s3c_fb_driver_ids[] = { 1941 + static const struct platform_device_id s3c_fb_driver_ids[] = { 1942 1942 { 1943 1943 .name = "s3c-fb", 1944 1944 .driver_data = (unsigned long)&s3c_fb_data_64xx,