diff options
author | Wei-Ning Huang <wnhuang@chromium.org> | 2015-07-02 16:36:56 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-07-18 00:42:15 +0200 |
commit | baeca4495f53bd0c51c24e5467ef1a7ba5e17f6d (patch) | |
tree | 6ec8443dd8f838d6111b877102b926761ea069f6 /drivers/rtc/rtc-r9701.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) |
rtc: mt6397: enable wakeup before registering rtc device
rtc_sysfs_add_device checks if device can wakeup before creating the
wakealarm file in sysfs. Thus the driver must set wakeup capability
before registering the rtc device.
Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Acked-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-r9701.c')
0 files changed, 0 insertions, 0 deletions