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

spi: fsl-spi: Make of_device_id array const

Make of_device_id array const, because all OF functions handle
it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Jingoo Han and committed by
Mark Brown
3aea901d f7f994a4

+1 -1
+1 -1
drivers/spi/spi-fsl-spi.c
··· 58 58 .type = TYPE_GRLIB, 59 59 }; 60 60 61 - static struct of_device_id of_fsl_spi_match[] = { 61 + static const struct of_device_id of_fsl_spi_match[] = { 62 62 { 63 63 .compatible = "fsl,spi", 64 64 .data = &of_fsl_spi_fsl_config,