summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-opal.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-01-11 00:17:46 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-01-16 23:19:26 +0100
commit3948a866822e77571dadaddebb6c5770ee1b1ad1 (patch)
tree4065635db5f933f1c741c33f4fe08d053a636283 /drivers/rtc/rtc-opal.c
parent732b7341b1411c85c8f7f5f7bf1081b5ca8735bd (diff)
rtc: m41t80: constify m41t80_rtc_ops
Use RTC_FEATURE_ALARM to signal to the core whether alarms are available instead of changing the global struct rtc_class_ops, allowing to make it const. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210110231752.1418816-12-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-opal.c')
0 files changed, 0 insertions, 0 deletions