diff options
Diffstat (limited to 'drivers/rtc')
| -rw-r--r-- | drivers/rtc/rtc-s5m.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 6deae10c14ac..4c363deb79fd 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c | |||
| @@ -38,6 +38,17 @@ | |||
| 38 | */ | 38 | */ |
| 39 | #define UDR_READ_RETRY_CNT 5 | 39 | #define UDR_READ_RETRY_CNT 5 |
| 40 | 40 | ||
| 41 | enum { | ||
| 42 | RTC_SEC = 0, | ||
| 43 | RTC_MIN, | ||
| 44 | RTC_HOUR, | ||
| 45 | RTC_WEEKDAY, | ||
| 46 | RTC_DATE, | ||
| 47 | RTC_MONTH, | ||
| 48 | RTC_YEAR1, | ||
| 49 | RTC_YEAR2, | ||
| 50 | }; | ||
| 51 | |||
| 41 | /* | 52 | /* |
| 42 | * Registers used by the driver which are different between chipsets. | 53 | * Registers used by the driver which are different between chipsets. |
| 43 | * | 54 | * |
