diff options
author | Thierry Reding <treding@nvidia.com> | 2015-04-08 17:19:19 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-08-13 13:47:18 +0200 |
commit | c22fb79099dbec82b8280106c43f6e800ecc854c (patch) | |
tree | ad37ea280546ae90bfea9d63dd13d6fbb3ce5b20 /drivers/gpu/host1x | |
parent | 2ed264bf916b689fe0c71ac726995f0876062667 (diff) |
gpu: host1x: mipi: Constify OF match table
This table is never modified and can therefore reside in read-only
memory.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/mipi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c index 7253048ce131..65b6e71512c0 100644 --- 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 }, { }, |