]> 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)
commit32800664f080adb35a94ed8742b74987eb42278f
treed4673f18f817d8735c74be9464e550ab24f994c8
parent0da4ee63b947f43a601ff002dd1aa28833741d85
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