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

spi: tegra20-sflash: 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
bff15edc 0ac83f39

+1 -1
+1 -1
drivers/spi/spi-tegra20-sflash.c
··· 419 419 return handle_cpu_based_xfer(tsd); 420 420 } 421 421 422 - static struct of_device_id tegra_sflash_of_match[] = { 422 + static const struct of_device_id tegra_sflash_of_match[] = { 423 423 { .compatible = "nvidia,tegra20-sflash", }, 424 424 {} 425 425 };