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

spi: s3c64xx: 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: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
23f6d39e b787f68c

+1 -1
+1 -1
drivers/spi/spi-s3c64xx.c
··· 1347 1347 .quirks = S3C64XX_SPI_QUIRK_CS_AUTO, 1348 1348 }; 1349 1349 1350 - static struct platform_device_id s3c64xx_spi_driver_ids[] = { 1350 + static const struct platform_device_id s3c64xx_spi_driver_ids[] = { 1351 1351 { 1352 1352 .name = "s3c2443-spi", 1353 1353 .driver_data = (kernel_ulong_t)&s3c2443_spi_port_config,