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

spi: tegra20-slink: 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
b2fb1872 bff15edc

+1 -1
+1 -1
drivers/spi/spi-tegra20-slink.c
··· 1001 1001 .cs_hold_time = false, 1002 1002 }; 1003 1003 1004 - static struct of_device_id tegra_slink_of_match[] = { 1004 + static const struct of_device_id tegra_slink_of_match[] = { 1005 1005 { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, 1006 1006 { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, 1007 1007 {}