rtc: sc27xx: Set wakeup capability before registering rtc device
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 18 Oct 2018 08:52:26 +0000 (16:52 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 25 Oct 2018 00:35:36 +0000 (02:35 +0200)
commita86d6b23ed9729d47b2818857d8fa5d8e3f8284a
tree73ccec493a76589443ecc1c1f6893a92a577082e
parentef0f02fd69a02b50e468a4ddbe33e3d81671e248
rtc: sc27xx: Set wakeup capability before registering rtc device

Set wakeup capability before registering rtc device, in case the alarmtimer
can find one available rtc device.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sc27xx.c