]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: add parameter ioctl
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:19:28 +0000 (17:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:20:50 +0000 (17:20 +0200)
commit2216e83bfa447e35b393ef5be35927b15968482d
tree8f7a1b3a7ea936632a35a49dc4be6f5b02e523db
parent8f29d7668322fc57d0a732d0d3043aad5968e851
rtc: add parameter ioctl

Add an ioctl allowing to get and set extra parameters for an RTC. For now,
only handle getting available features.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211018151933.76865-3-alexandre.belloni@bootlin.com
drivers/rtc/dev.c
include/uapi/linux/rtc.h