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:
bff15ed
)
spi: tegra20-slink: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 07:52:36 +0000
(16:52 +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-slink.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-tegra20-slink.c
b/drivers/spi/spi-tegra20-slink.c
index e3c1b93e45d19abf610e7566405c3ad434a4bfbf..0b9e32e9f493fee14ad73acb48cd6ebce9e96c00 100644
(file)
--- 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, },
{}
This page took
0.024623 seconds
and
5
git commands to generate.