summaryrefslogtreecommitdiff
path: root/kernel/power/main.c
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2016-03-03 10:33:40 -0800
committerAmit Pundir <amit.pundir@linaro.org>2016-04-07 16:49:57 +0530
commit860df91e2aa0da046c727ea87ad7f1176a20665d (patch)
treefc639d56e1abfe6e5c8e6f5042848e1b9a228f2f /kernel/power/main.c
parent267687882304f817e75e7f9a439ecb5b8f579a34 (diff)
PM / suspend: Add dependency on RTC_LIB
Commit 1eff8f99f9f9 ("PM / Suspend: Print wall time at suspend entry and exit") calls rtc_time_to_tm(), which in turn calls rtc_time64_to_tm(). Since RTC_LIB is not mandatory for all architetures, this can result in the following build error. suspend.c:(.text+0x2f36c): undefined reference to `rtc_time64_to_tm' rtc_time64_to_tm() is implemented in rtc-lib, so SUSPEND now needs to select RTC_LIB. Fixes: 1eff8f99f9f9 ("PM / Suspend: Print wall time at suspend entry and exit") Signed-off-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions