spi: tegra114: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 07:51:02 +0000 (16:51 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 7 May 2014 19:53:05 +0000 (20:53 +0100)
Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra114.c

index 400649595505e874e2b8873e1561a9e33310da56..e4a85ada861d0a68f44f1150bdcf7cad511a413e 100644 (file)
@@ -1012,7 +1012,7 @@ static irqreturn_t tegra_spi_isr(int irq, void *context_data)
        return IRQ_WAKE_THREAD;
 }
 
-static struct of_device_id tegra_spi_of_match[] = {
+static const struct of_device_id tegra_spi_of_match[] = {
        { .compatible = "nvidia,tegra114-spi", },
        {}
 };
This page took 0.025721 seconds and 5 git commands to generate.