powerpc: Use static const char arrays

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by Joe Perches and committed by Benjamin Herrenschmidt 4e74fd7d 410bccf9

+3 -3
+2 -2
arch/powerpc/boot/addnote.c
··· 20 20 #include <string.h> 21 21 22 22 /* CHRP note section */ 23 - char arch[] = "PowerPC"; 23 + static const char arch[] = "PowerPC"; 24 24 25 25 #define N_DESCR 6 26 26 unsigned int descr[N_DESCR] = { ··· 33 33 }; 34 34 35 35 /* RPA note section */ 36 - char rpaname[] = "IBM,RPA-Client-Config"; 36 + static const char rpaname[] = "IBM,RPA-Client-Config"; 37 37 38 38 /* 39 39 * Note: setting ignore_my_client_config *should* mean that OF ignores
+1 -1
arch/powerpc/kernel/irq.c
··· 1143 1143 unsigned long flags; 1144 1144 struct irq_desc *desc; 1145 1145 const char *p; 1146 - char none[] = "none"; 1146 + static const char none[] = "none"; 1147 1147 int i; 1148 1148 1149 1149 seq_printf(m, "%-5s %-7s %-15s %s\n", "virq", "hwirq",