projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d10f0
)
sh: Storage class should be before const qualifier
author
Tobias Klauser
<tklauser@distanz.ch>
Sun, 17 Feb 2008 14:38:35 +0000
(15:38 +0100)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh2a/clock-sh7203.c
b/arch/sh/kernel/cpu/sh2a/clock-sh7203.c
index 3feb95a4fcbccae462c1fda63548a33709f7bdb5..fb781329848af930b22290d452fe99a8fdc7a169 100644
(file)
--- 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)