]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
sh: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Sun, 17 Feb 2008 14:38:35 +0000 (15:38 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 Feb 2008 05:04:17 +0000 (14:04 +0900)
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: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2a/clock-sh7203.c

index 3feb95a4fcbccae462c1fda63548a33709f7bdb5..fb781329848af930b22290d452fe99a8fdc7a169 100644 (file)
@@ -21,8 +21,8 @@
 #include <asm/freq.h>
 #include <asm/io.h>
 
-const static int pll1rate[]={8,12,16,0};
-const static int pfc_divisors[]={1,2,3,4,6,8,12};
+static const int pll1rate[]={8,12,16,0};
+static const int pfc_divisors[]={1,2,3,4,6,8,12};
 #define ifc_divisors pfc_divisors
 
 #if (CONFIG_SH_CLK_MD == 0)