diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-02-17 15:38:35 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-02-26 14:04:17 +0900 |
commit | 4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2 (patch) | |
tree | ebdcb11ceb4dd9b4453520df673d00fca6eff31a /arch/sh | |
parent | 24d10f0c37d301e88f6965e3dc0aa684311544e5 (diff) | |
download | op-kernel-dev-4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2.zip op-kernel-dev-4377e605e0b004a8d2049eac6cc89fbe1fdcdbb2.tar.gz |
sh: 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: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/clock-sh7203.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/clock-sh7203.c b/arch/sh/kernel/cpu/sh2a/clock-sh7203.c index 3feb95a4..fb78132 100644 --- a/arch/sh/kernel/cpu/sh2a/clock-sh7203.c +++ b/arch/sh/kernel/cpu/sh2a/clock-sh7203.c @@ -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) |