aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:26:40 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:26:40 -0400
commitb1d18dc06ba6b9056f95aaf1f8c464830846f87f (patch)
tree2b7a9cff99c3e977f5455ec23334bdacd05291ae /arch
parent3f76d9841e9cf6dd969ff3aec96476dced9c53f8 (diff)
arm: 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: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/mfp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/mfp.c b/arch/arm/mach-pxa/mfp.c
index f5809adce298..9646b048f01c 100644
--- a/arch/arm/mach-pxa/mfp.c
+++ b/arch/arm/mach-pxa/mfp.c
@@ -42,7 +42,7 @@ struct pxa3xx_mfp_pin {
42static struct pxa3xx_mfp_pin mfp_table[MFP_PIN_MAX]; 42static struct pxa3xx_mfp_pin mfp_table[MFP_PIN_MAX];
43 43
44/* mapping of MFP_LPM_* definitions to MFPR_LPM_* register bits */ 44/* mapping of MFP_LPM_* definitions to MFPR_LPM_* register bits */
45const static unsigned long mfpr_lpm[] = { 45static const unsigned long mfpr_lpm[] = {
46 MFPR_LPM_INPUT, 46 MFPR_LPM_INPUT,
47 MFPR_LPM_DRIVE_LOW, 47 MFPR_LPM_DRIVE_LOW,
48 MFPR_LPM_DRIVE_HIGH, 48 MFPR_LPM_DRIVE_HIGH,
@@ -52,7 +52,7 @@ const static unsigned long mfpr_lpm[] = {
52}; 52};
53 53
54/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */ 54/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */
55const static unsigned long mfpr_pull[] = { 55static const unsigned long mfpr_pull[] = {
56 MFPR_PULL_NONE, 56 MFPR_PULL_NONE,
57 MFPR_PULL_LOW, 57 MFPR_PULL_LOW,
58 MFPR_PULL_HIGH, 58 MFPR_PULL_HIGH,
@@ -60,7 +60,7 @@ const static unsigned long mfpr_pull[] = {
60}; 60};
61 61
62/* mapping of MFP_LPM_EDGE_* definitions to MFPR_EDGE_* register bits */ 62/* mapping of MFP_LPM_EDGE_* definitions to MFPR_EDGE_* register bits */
63const static unsigned long mfpr_edge[] = { 63static const unsigned long mfpr_edge[] = {
64 MFPR_EDGE_NONE, 64 MFPR_EDGE_NONE,
65 MFPR_EDGE_RISE, 65 MFPR_EDGE_RISE,
66 MFPR_EDGE_FALL, 66 MFPR_EDGE_FALL,