mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
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
This commit is contained in:
parent
2268551935
commit
a6d8c6e1a5
2 changed files with 20 additions and 0 deletions
|
@ -136,6 +136,7 @@ struct rtc_param {
|
|||
|
||||
/* parameter list */
|
||||
#define RTC_PARAM_FEATURES 0
|
||||
#define RTC_PARAM_CORRECTION 1
|
||||
|
||||
#define RTC_MAX_FREQ 8192
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue