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

spi: s3c64xx: constify fsd_spi_port_config

All struct s3c64xx_spi_port_config should be const.

Fixes: 4ebb15a15799 ("spi: s3c64xx: Add spi port configuration for Tesla FSD SoC")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220627094541.95166-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
a813c47d 40308f96

+1 -1
+1 -1
drivers/spi/spi-s3c64xx.c
··· 1421 1421 .quirks = S3C64XX_SPI_QUIRK_CS_AUTO, 1422 1422 }; 1423 1423 1424 - static struct s3c64xx_spi_port_config fsd_spi_port_config = { 1424 + static const struct s3c64xx_spi_port_config fsd_spi_port_config = { 1425 1425 .fifo_lvl_mask = { 0x7f, 0x7f, 0x7f, 0x7f, 0x7f}, 1426 1426 .rx_lvl_offset = 15, 1427 1427 .tx_st_done = 25,