[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 18/34] xen/arm: omap5: Correctly constify platform compatibility list
Fix compilation with clang 3.5: omap5.c:147:19: error: duplicate 'const' declaration specifier [-Werror,-Wduplicate-decl-specifier] static const char const *omap5_dt_compat[] __initconst = ^ Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx> Cc: Tim Deegan <tim@xxxxxxx> --- xen/arch/arm/platforms/omap5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/platforms/omap5.c b/xen/arch/arm/platforms/omap5.c index 76d4d9b..98267cf 100644 --- a/xen/arch/arm/platforms/omap5.c +++ b/xen/arch/arm/platforms/omap5.c @@ -144,7 +144,7 @@ static int __init omap5_smp_init(void) return 0; } -static const char const *omap5_dt_compat[] __initconst = +static const char * const omap5_dt_compat[] __initconst = { "ti,omap5", 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 |