]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 9 Feb 2009 20:59:40 +0000 (20:59 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Feb 2009 08:26:09 +0000 (17:26 +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-sh7201.c

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