summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rtc.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-10-18 18:19:30 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-10-18 18:20:50 +0300
commita6d8c6e1a5c6fb982964861dc84c0c7cb0151c7c (patch)
tree8d2c5f907bf0414f056a087067ebc2f9ea7a6384 /include/uapi/linux/rtc.h
parent2268551935dbf1abcbb4d4fb7b1ad74dbe0d1be0 (diff)
downloadlinux-a6d8c6e1a5c6fb982964861dc84c0c7cb0151c7c.tar.xz
rtc: add correction parameter
Add a new parameter allowing the get and set the correction using ioctls instead of just sysfs. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20211018151933.76865-5-alexandre.belloni@bootlin.com
Diffstat (limited to 'include/uapi/linux/rtc.h')
-rw-r--r--include/uapi/linux/rtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtc.h b/include/uapi/linux/rtc.h
index c83bb9a4fa4f..5debe82439c2 100644
--- a/include/uapi/linux/rtc.h
+++ b/include/uapi/linux/rtc.h
@@ -136,6 +136,7 @@ struct rtc_param {
/* parameter list */
#define RTC_PARAM_FEATURES 0
+#define RTC_PARAM_CORRECTION 1
#define RTC_MAX_FREQ 8192