]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: add correction parameter
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:19:30 +0000 (17:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:20:50 +0000 (17:20 +0200)
commitfab907a8a432b6ed9041a806534d4a2b87cfae58
tree8d2c5f907bf0414f056a087067ebc2f9ea7a6384
parentbb8eb1f3c89ac7e7fdb0677411fb30d5d497c3fd
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
drivers/rtc/dev.c
include/uapi/linux/rtc.h