projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed264b
)
gpu: host1x: mipi: Constify OF match table
author
Thierry Reding
<treding@nvidia.com>
Wed, 8 Apr 2015 15:19:19 +0000
(17:19 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Aug 2015 11:47:18 +0000
(13:47 +0200)
This table is never modified and can therefore reside in read-only
memory.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/mipi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/host1x/mipi.c
b/drivers/gpu/host1x/mipi.c
index 7253048ce1313f15f16642e957656963c5b5e0c1..65b6e71512c0389637f99ba2f02a9f94ca351d12 100644
(file)
--- a/
drivers/gpu/host1x/mipi.c
+++ b/
drivers/gpu/host1x/mipi.c
@@
-352,7
+352,7
@@
static const struct tegra_mipi_soc tegra124_mipi_soc = {
.hsclkpuos = 0x2,
};
-static struct of_device_id tegra_mipi_of_match[] = {
+static
const
struct of_device_id tegra_mipi_of_match[] = {
{ .compatible = "nvidia,tegra114-mipi", .data = &tegra114_mipi_soc },
{ .compatible = "nvidia,tegra124-mipi", .data = &tegra124_mipi_soc },
{ },