diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 16:52:36 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 20:53:05 +0100 |
commit | b2fb1872d3d912dcf81ec71a345fd3dcf81a066d (patch) | |
tree | de41f5158eea321e55023bff9b4d45facdd95296 /drivers/spi/spi-tegra20-slink.c | |
parent | bff15edc0be070df60228564da4aedaffb35e7dd (diff) | |
download | talos-obmc-linux-b2fb1872d3d912dcf81ec71a345fd3dcf81a066d.tar.gz talos-obmc-linux-b2fb1872d3d912dcf81ec71a345fd3dcf81a066d.zip |
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>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
-rw-r--r-- | drivers/spi/spi-tegra20-slink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index e3c1b93e45d1..0b9e32e9f493 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c @@ -1001,7 +1001,7 @@ static const struct tegra_slink_chip_data tegra20_spi_cdata = { .cs_hold_time = false, }; -static struct of_device_id tegra_slink_of_match[] = { +static const struct of_device_id tegra_slink_of_match[] = { { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, {} |