As Julien pointed out the other day, the data type for the platform
DT name match struct is wrong.
To be really immutable, we have to use "const char * const".
Fix it on the three currently existing platforms.
Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
return PLATFORM_QUIRK_DOM0_MAPPING_11;
}
-static const char const *exynos5_dt_compat[] __initdata =
+static const char * const exynos5_dt_compat[] __initdata =
{
"samsung,exynos5250",
NULL
iounmap(pmu);
}
-static const char const *midway_dt_compat[] __initdata =
+static const char * const midway_dt_compat[] __initdata =
{
"calxeda,ecx-2000",
NULL
iounmap(sp810);
}
-static const char const *vexpress_dt_compat[] __initdata =
+static const char * const vexpress_dt_compat[] __initdata =
{
"arm,vexpress",
NULL