aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/samsung/rtc.h
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-03-10 00:27:15 -0600
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-03-17 14:20:56 +0100
commit4a681243cc2d2cea98c6b5e57224f3bcb08bce6c (patch)
tree7de855d1abf06d1b4b48f3a47e408a0f45ae678a /include/linux/mfd/samsung/rtc.h
parentrtc: remove VLA usage (diff)
downloadlinux-dev-4a681243cc2d2cea98c6b5e57224f3bcb08bce6c.tar.xz
linux-dev-4a681243cc2d2cea98c6b5e57224f3bcb08bce6c.zip
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/samsung/rtc.h')
-rw-r--r--include/linux/mfd/samsung/rtc.h11
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 {
#define WTSR_ENABLE_SHIFT 6
#define WTSR_ENABLE_MASK (1 << WTSR_ENABLE_SHIFT)
-enum {
- RTC_SEC = 0,
- RTC_MIN,
- RTC_HOUR,
- RTC_WEEKDAY,
- RTC_DATE,
- RTC_MONTH,
- RTC_YEAR1,
- RTC_YEAR2,
-};
-
#endif /* __LINUX_MFD_SEC_RTC_H */