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)
commit6a8af1b6568ad9ee08a419fb12c793f7992cf8a4
tree8f7a1b3a7ea936632a35a49dc4be6f5b02e523db
parent917425f71f36ce6f61841497040e10d0166106d8
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