diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-04-26 08:18:25 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-01 10:38:13 -0400 |
commit | 595e8fabea22c96f674102f33b4a759f4512dd9c (patch) | |
tree | 08ea26e424102411217bb6e508735eac91d5f044 /arch | |
parent | 091438dd5668396328a3419abcbc6591159eb8d1 (diff) |
microblaze: Storage class should be before const qualifier
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/kernel/cpu/cpuinfo-static.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/cpu/cpuinfo-static.c b/arch/microblaze/kernel/cpu/cpuinfo-static.c index cfe44effdb77..450ca6bb828d 100644 --- a/arch/microblaze/kernel/cpu/cpuinfo-static.c +++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c | |||
@@ -14,8 +14,8 @@ | |||
14 | #include <asm/cpuinfo.h> | 14 | #include <asm/cpuinfo.h> |
15 | #include <asm/pvr.h> | 15 | #include <asm/pvr.h> |
16 | 16 | ||
17 | const static char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY; | 17 | static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY; |
18 | const static char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER; | 18 | static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER; |
19 | 19 | ||
20 | #define err_printk(x) \ | 20 | #define err_printk(x) \ |
21 | early_printk("ERROR: Microblaze " x "- different for kernel and DTS\n"); | 21 | early_printk("ERROR: Microblaze " x "- different for kernel and DTS\n"); |