mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Jesper Juhl <[email protected]>
This commit is contained in:
parent
3f76d9841e
commit
b1d18dc06b
2 changed files with 5 additions and 5 deletions
|
|
@ -42,7 +42,7 @@ struct pxa3xx_mfp_pin {
|
|||
static struct pxa3xx_mfp_pin mfp_table[MFP_PIN_MAX];
|
||||
|
||||
/* mapping of MFP_LPM_* definitions to MFPR_LPM_* register bits */
|
||||
const static unsigned long mfpr_lpm[] = {
|
||||
static const unsigned long mfpr_lpm[] = {
|
||||
MFPR_LPM_INPUT,
|
||||
MFPR_LPM_DRIVE_LOW,
|
||||
MFPR_LPM_DRIVE_HIGH,
|
||||
|
|
@ -52,7 +52,7 @@ const static unsigned long mfpr_lpm[] = {
|
|||
};
|
||||
|
||||
/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */
|
||||
const static unsigned long mfpr_pull[] = {
|
||||
static const unsigned long mfpr_pull[] = {
|
||||
MFPR_PULL_NONE,
|
||||
MFPR_PULL_LOW,
|
||||
MFPR_PULL_HIGH,
|
||||
|
|
@ -60,7 +60,7 @@ const static unsigned long mfpr_pull[] = {
|
|||
};
|
||||
|
||||
/* mapping of MFP_LPM_EDGE_* definitions to MFPR_EDGE_* register bits */
|
||||
const static unsigned long mfpr_edge[] = {
|
||||
static const unsigned long mfpr_edge[] = {
|
||||
MFPR_EDGE_NONE,
|
||||
MFPR_EDGE_RISE,
|
||||
MFPR_EDGE_FALL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue