diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-10 01:27:15 -0500 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-17 09:20:56 -0400 |
| commit | 4a681243cc2d2cea98c6b5e57224f3bcb08bce6c (patch) | |
| tree | 7de855d1abf06d1b4b48f3a47e408a0f45ae678a /include/linux/mfd | |
| parent | fed9b18611f75110d5b26d650819665d528038da (diff) | |
rtc: s5m: Move enum from rtc.h to rtc-s5m.c
Move this enum to rtc-s5m.c once it is meaningless to others drivers [1].
[1] https://marc.info/?l=linux-rtc&m=152060068925948&w=2
Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/samsung/rtc.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/mfd/samsung/rtc.h b/include/linux/mfd/samsung/rtc.h index 48c3c5be7eb1..9ed2871ea335 100644 --- a/include/linux/mfd/samsung/rtc.h +++ b/include/linux/mfd/samsung/rtc.h | |||
| @@ -141,15 +141,4 @@ enum s2mps_rtc_reg { | |||
| 141 | #define WTSR_ENABLE_SHIFT 6 | 141 | #define WTSR_ENABLE_SHIFT 6 |
| 142 | #define WTSR_ENABLE_MASK (1 << WTSR_ENABLE_SHIFT) | 142 | #define WTSR_ENABLE_MASK (1 << WTSR_ENABLE_SHIFT) |
| 143 | 143 | ||
| 144 | enum { | ||
| 145 | RTC_SEC = 0, | ||
| 146 | RTC_MIN, | ||
| 147 | RTC_HOUR, | ||
| 148 | RTC_WEEKDAY, | ||
| 149 | RTC_DATE, | ||
| 150 | RTC_MONTH, | ||
| 151 | RTC_YEAR1, | ||
| 152 | RTC_YEAR2, | ||
| 153 | }; | ||
| 154 | |||
| 155 | #endif /* __LINUX_MFD_SEC_RTC_H */ | 144 | #endif /* __LINUX_MFD_SEC_RTC_H */ |
