projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b578f3f
)
sh: Storage class should be before const qualifier
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 9 Feb 2009 20:59:40 +0000
(20:59 +0000)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/cpu/sh2a/clock-sh7201.c
b/arch/sh/kernel/cpu/sh2a/clock-sh7201.c
index 020a96fe961a0b1cfa682cd919b22ab4f3af92cf..4a5e59732334ca70782a167c5eccaf4e133b9ffd 100644
(file)
--- 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)