gpu: host1x: mipi: Constify OF match table
authorThierry Reding <treding@nvidia.com>
Wed, 8 Apr 2015 15:19:19 +0000 (17:19 +0200)
committerThierry 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

index 7253048ce1313f15f16642e957656963c5b5e0c1..65b6e71512c0389637f99ba2f02a9f94ca351d12 100644 (file)
@@ -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 },
        { },