[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v4 3/3] xen: arm: consitfy platform compatibility lists and use __initconst
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/platforms/exynos5.c | 2 +- xen/arch/arm/platforms/midway.c | 2 +- xen/arch/arm/platforms/omap5.c | 2 +- xen/arch/arm/platforms/vexpress.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/platforms/exynos5.c b/xen/arch/arm/platforms/exynos5.c index a2bf916..0e76cac 100644 --- a/xen/arch/arm/platforms/exynos5.c +++ b/xen/arch/arm/platforms/exynos5.c @@ -116,7 +116,7 @@ static uint32_t exynos5_quirks(void) return PLATFORM_QUIRK_DOM0_MAPPING_11; } -static const char * const exynos5_dt_compat[] __initdata = +static const char * const exynos5_dt_compat[] __initconst = { "samsung,exynos5250", NULL diff --git a/xen/arch/arm/platforms/midway.c b/xen/arch/arm/platforms/midway.c index a48fc84..b221279 100644 --- a/xen/arch/arm/platforms/midway.c +++ b/xen/arch/arm/platforms/midway.c @@ -42,7 +42,7 @@ static void midway_reset(void) iounmap(pmu); } -static const char * const midway_dt_compat[] __initdata = +static const char * const midway_dt_compat[] __initconst = { "calxeda,ecx-2000", NULL diff --git a/xen/arch/arm/platforms/omap5.c b/xen/arch/arm/platforms/omap5.c index bd9db74..54fa5ff 100644 --- a/xen/arch/arm/platforms/omap5.c +++ b/xen/arch/arm/platforms/omap5.c @@ -158,7 +158,7 @@ static uint32_t omap5_quirks(void) return PLATFORM_QUIRK_DOM0_MAPPING_11; } -static const char const *omap5_dt_compat[] __initdata = +static const char const *omap5_dt_compat[] __initconst = { "ti,omap5", NULL diff --git a/xen/arch/arm/platforms/vexpress.c b/xen/arch/arm/platforms/vexpress.c index b9d85af..9056366 100644 --- a/xen/arch/arm/platforms/vexpress.c +++ b/xen/arch/arm/platforms/vexpress.c @@ -154,7 +154,7 @@ static int __init vexpress_cpu_up(int cpu) } #endif -static const char * const vexpress_dt_compat[] __initdata = +static const char * const vexpress_dt_compat[] __initconst = { "arm,vexpress", NULL -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |