summaryrefslogtreecommitdiffstats
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-09-29 11:22:10 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-12 16:30:25 +0200
commitb86f581f8cdbec3655d400ad952c2203a74edde1 (patch)
treea3ea7d4d259a1d4c781532a9ed6c9a36b7b64d5e /block/t10-pi.c
parent273c868e85a56481ccb34822be2033dbe63248fb (diff)
downloadlinux-b86f581f8cdbec3655d400ad952c2203a74edde1.tar.bz2
rtc: pl031: avoid exposing alarm if no interrupt
If the RTC has no interrupt, there is little point in exposing the RTC alarm capabilities, as it can't be used as a wakeup source nor can it deliver an event to userspace. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions