projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
113b1a0
)
spi: tegra114: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 07:51:02 +0000
(16:51 +0900)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-tegra114.c
b/drivers/spi/spi-tegra114.c
index 400649595505e874e2b8873e1561a9e33310da56..e4a85ada861d0a68f44f1150bdcf7cad511a413e 100644
(file)
--- a/
drivers/spi/spi-tegra114.c
+++ b/
drivers/spi/spi-tegra114.c
@@
-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", },
{}
};