From: Thierry Reding Date: Wed, 8 Apr 2015 15:19:19 +0000 (+0200) Subject: gpu: host1x: mipi: Constify OF match table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c22fb79099dbec82b8280106c43f6e800ecc854c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 }, { },