diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-08-04 12:41:31 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-08-06 10:31:59 +0200 |
commit | 308247d20464a684f335001f2f835240e67f9126 (patch) | |
tree | c45e58e29442b0cb1e6efe1a8c02004cfbf34a07 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 1ed4dba2bc166bae5af713a114ed91619ef70c43 (diff) |
rtc: s5m: enable wakeup only when available
Call device_init_wakeup() only when alarms are available and the RTC is
actually able to wake up the system.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210804104133.5158-3-alexandre.belloni@bootlin.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions