projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac83f3
)
spi: tegra20-sflash: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 07:51:52 +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>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra20-sflash.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-tegra20-sflash.c
b/drivers/spi/spi-tegra20-sflash.c
index 47869ea636e16189cbe651ad3426b338a670d1b7..3548ce25c08fbe44f4528f3dcdac68d4aeec0f7c 100644
(file)
--- a/
drivers/spi/spi-tegra20-sflash.c
+++ b/
drivers/spi/spi-tegra20-sflash.c
@@
-419,7
+419,7
@@
static irqreturn_t tegra_sflash_isr(int irq, void *context_data)
return handle_cpu_based_xfer(tsd);
}
-static struct of_device_id tegra_sflash_of_match[] = {
+static
const
struct of_device_id tegra_sflash_of_match[] = {
{ .compatible = "nvidia,tegra20-sflash", },
{}
};
This page took
0.024584 seconds
and
5
git commands to generate.