diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-09-29 11:22:10 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-10-12 16:30:25 +0200 |
commit | b86f581f8cdbec3655d400ad952c2203a74edde1 (patch) | |
tree | a3ea7d4d259a1d4c781532a9ed6c9a36b7b64d5e /block/t10-pi.c | |
parent | 273c868e85a56481ccb34822be2033dbe63248fb (diff) | |
download | linux-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