diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-02-09 23:59:40 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-02-12 11:26:09 +0300 |
commit | 270c5609e2540290d5d9b9f323b7b652cf0c5b75 (patch) | |
tree | 6fc40340b5f4cac7d5458064c32e8c6bb087c025 /arch/sh/kernel/cpu | |
parent | b578f3fcca1e78624dfb5f358776e63711d7fda2 (diff) | |
download | linux-270c5609e2540290d5d9b9f323b7b652cf0c5b75.tar.xz |
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/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/sh2a/clock-sh7201.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/clock-sh7201.c b/arch/sh/kernel/cpu/sh2a/clock-sh7201.c index 020a96fe961a..4a5e59732334 100644 --- a/arch/sh/kernel/cpu/sh2a/clock-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/clock-sh7201.c @@ -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) |