mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
rtc-twl: 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: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
870a2761a8
commit
2e84067b6e
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ enum {
|
|||
REG_RTC_COMP_LSB_REG,
|
||||
REG_RTC_COMP_MSB_REG,
|
||||
};
|
||||
const static u8 twl4030_rtc_reg_map[] = {
|
||||
static const u8 twl4030_rtc_reg_map[] = {
|
||||
[REG_SECONDS_REG] = 0x00,
|
||||
[REG_MINUTES_REG] = 0x01,
|
||||
[REG_HOURS_REG] = 0x02,
|
||||
|
|
@ -80,7 +80,7 @@ const static u8 twl4030_rtc_reg_map[] = {
|
|||
[REG_RTC_COMP_LSB_REG] = 0x10,
|
||||
[REG_RTC_COMP_MSB_REG] = 0x11,
|
||||
};
|
||||
const static u8 twl6030_rtc_reg_map[] = {
|
||||
static const u8 twl6030_rtc_reg_map[] = {
|
||||
[REG_SECONDS_REG] = 0x00,
|
||||
[REG_MINUTES_REG] = 0x01,
|
||||
[REG_HOURS_REG] = 0x02,
|
||||
|
|
|
|||
Loading…
Reference in a new issue