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

serial: samsung: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
24ee4df1 75781979

+1 -1
+1 -1
drivers/tty/serial/samsung.c
··· 2337 2337 #define EXYNOS5433_SERIAL_DRV_DATA (kernel_ulong_t)NULL 2338 2338 #endif 2339 2339 2340 - static struct platform_device_id s3c24xx_serial_driver_ids[] = { 2340 + static const struct platform_device_id s3c24xx_serial_driver_ids[] = { 2341 2341 { 2342 2342 .name = "s3c2410-uart", 2343 2343 .driver_data = S3C2410_SERIAL_DRV_DATA,