]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pl031: make interrupt optional
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Sep 2017 10:22:15 +0000 (11:22 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 12 Oct 2017 14:30:30 +0000 (16:30 +0200)
commit7bb5793c9654ad5bab5f2869cadf56160b77647c
treed4673f18f817d8735c74be9464e550ab24f994c8
parente789590d12f7a0b6daaf581c76a6620b60c1bcad
rtc: pl031: make interrupt optional

On some platforms, the interrupt for the PL031 is optional.  Avoid
trying to claim the interrupt if it's not specified.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pl031.c