summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-10-08 11:39:11 +0200
committerMark Brown <broonie@kernel.org>2026-10-08 11:39:11 +0200
commitdc22cb16c9bcd4733485eb30369ee621b2fdfbaf (patch)
tree5fe5846eeec7f34a3fac1a093dec462f1fe21b15 /include
parent3649d83f8bc608c7e0e05dc86c04a16bbecf640e (diff)
parent32f04694fa87b8ac9fa58f9ceb2dc6cbc476e2a1 (diff)
downloadlinux-next-dc22cb16c9bcd4733485eb30369ee621b2fdfbaf.tar.gz
linux-next-dc22cb16c9bcd4733485eb30369ee621b2fdfbaf.zip
Merge branch 'rtc-next' of https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/mt6397/rtc.h7
-rw-r--r--include/linux/rtc/rtc-omap.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/mfd/mt6397/rtc.h b/include/linux/mfd/mt6397/rtc.h
index 27883af44f87..f4da579ec638 100644
--- a/include/linux/mfd/mt6397/rtc.h
+++ b/include/linux/mfd/mt6397/rtc.h
@@ -49,6 +49,13 @@
#define RTC_AL_SEC 0x0018
+/* The high byte of four of the alarms is spare, always-on storage */
+#define RTC_AL_HOU 0x001c
+#define RTC_AL_DOM 0x001e
+#define RTC_AL_DOW 0x0020
+#define RTC_AL_MTH 0x0022
+#define RTC_SPARE_MASK GENMASK(15, 8)
+
#define RTC_AL_SEC_MASK 0x003f
#define RTC_AL_MIN_MASK 0x003f
#define RTC_AL_HOU_MASK 0x001f
diff --git a/include/linux/rtc/rtc-omap.h b/include/linux/rtc/rtc-omap.h
index 9f03a329e63f..d6ec7c4daea6 100644
--- a/include/linux/rtc/rtc-omap.h
+++ b/include/linux/rtc/rtc-omap.h
@@ -3,5 +3,5 @@
#ifndef _LINUX_RTCOMAP_H_
#define _LINUX_RTCOMAP_H_
-int omap_rtc_power_off_program(struct device *dev);
+int omap_rtc_power_off_program(void);
#endif /* _LINUX_RTCOMAP_H_ */