summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 16:52:36 +0900
committerMark Brown <broonie@linaro.org>2014-05-07 20:53:05 +0100
commitb2fb1872d3d912dcf81ec71a345fd3dcf81a066d (patch)
treede41f5158eea321e55023bff9b4d45facdd95296 /drivers/spi
parentbff15edc0be070df60228564da4aedaffb35e7dd (diff)
downloadop-kernel-dev-b2fb1872d3d912dcf81ec71a345fd3dcf81a066d.zip
op-kernel-dev-b2fb1872d3d912dcf81ec71a345fd3dcf81a066d.tar.gz
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')
-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 e3c1b93..0b9e32e 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, },
{}
OpenPOWER on IntegriCloud