diff options
author | Joe Perches <joe@perches.com> | 2010-09-14 04:23:47 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2010-09-18 23:06:17 -0400 |
commit | 31019075f41c785eff7f38c62e4c700af019fdb7 (patch) | |
tree | a483a219970d94c55cde6c1db6a2a81d2f0955ea /arch/alpha/kernel/err_marvel.c | |
parent | 151b6a5f1d4c547c92ec67a5a6fedc16f435956e (diff) | |
download | kernel_samsung_smdk4412-31019075f41c785eff7f38c62e4c700af019fdb7.zip kernel_samsung_smdk4412-31019075f41c785eff7f38c62e4c700af019fdb7.tar.gz kernel_samsung_smdk4412-31019075f41c785eff7f38c62e4c700af019fdb7.tar.bz2 |
alpha: Use static const char * const where possible
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/err_marvel.c')
-rw-r--r-- | arch/alpha/kernel/err_marvel.c | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/arch/alpha/kernel/err_marvel.c b/arch/alpha/kernel/err_marvel.c index 5c905aa..648ae88 100644 --- a/arch/alpha/kernel/err_marvel.c +++ b/arch/alpha/kernel/err_marvel.c @@ -589,22 +589,23 @@ marvel_print_pox_spl_cmplt(u64 spl_cmplt) static void marvel_print_pox_trans_sum(u64 trans_sum) { - char *pcix_cmd[] = { "Interrupt Acknowledge", - "Special Cycle", - "I/O Read", - "I/O Write", - "Reserved", - "Reserved / Device ID Message", - "Memory Read", - "Memory Write", - "Reserved / Alias to Memory Read Block", - "Reserved / Alias to Memory Write Block", - "Configuration Read", - "Configuration Write", - "Memory Read Multiple / Split Completion", - "Dual Address Cycle", - "Memory Read Line / Memory Read Block", - "Memory Write and Invalidate / Memory Write Block" + static const char * const pcix_cmd[] = { + "Interrupt Acknowledge", + "Special Cycle", + "I/O Read", + "I/O Write", + "Reserved", + "Reserved / Device ID Message", + "Memory Read", + "Memory Write", + "Reserved / Alias to Memory Read Block", + "Reserved / Alias to Memory Write Block", + "Configuration Read", + "Configuration Write", + "Memory Read Multiple / Split Completion", + "Dual Address Cycle", + "Memory Read Line / Memory Read Block", + "Memory Write and Invalidate / Memory Write Block" }; #define IO7__POX_TRANSUM__PCI_ADDR__S (0) |