diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 05:47:40 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-10-13 01:19:03 -0400 |
commit | 4e74fd7d0a6eda70f9356c113450182a844abcf1 (patch) | |
tree | 0d4b2726cbe2298fa086e12284608f123b8f8a4c /arch/powerpc/kernel/irq.c | |
parent | 410bccf978819394669dede571de878f4576fd3e (diff) |
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>
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 4a65386995d7..47fbc56e9e1c 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -1143,7 +1143,7 @@ static int virq_debug_show(struct seq_file *m, void *private) | |||
1143 | unsigned long flags; | 1143 | unsigned long flags; |
1144 | struct irq_desc *desc; | 1144 | struct irq_desc *desc; |
1145 | const char *p; | 1145 | const char *p; |
1146 | char none[] = "none"; | 1146 | static const char none[] = "none"; |
1147 | int i; | 1147 | int i; |
1148 | 1148 | ||
1149 | seq_printf(m, "%-5s %-7s %-15s %s\n", "virq", "hwirq", | 1149 | seq_printf(m, "%-5s %-7s %-15s %s\n", "virq", "hwirq", |