microblaze: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Sun, 26 Apr 2009 12:18:25 +0000 (14:18 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 1 May 2009 14:38:13 +0000 (16:38 +0200)
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>
arch/microblaze/kernel/cpu/cpuinfo-static.c

index cfe44ef..450ca6b 100644 (file)
@@ -14,8 +14,8 @@
 #include <asm/cpuinfo.h>
 #include <asm/pvr.h>
 
-const static char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
-const static char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
+static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
+static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
 
 #define err_printk(x) \
        early_printk("ERROR: Microblaze " x "- different for kernel and DTS\n");