summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 09:52:36 +0200
committerMark Brown <broonie@linaro.org>2014-05-07 21:53:05 +0200
commitb2fb1872d3d912dcf81ec71a345fd3dcf81a066d (patch)
treede41f5158eea321e55023bff9b4d45facdd95296 /drivers/spi/spi-tegra20-slink.c
parentspi: tegra20-sflash: Make of_device_id array const (diff)
downloadlinux-b2fb1872d3d912dcf81ec71a345fd3dcf81a066d.tar.xz
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.c2
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, },
{}