Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77d43273 authored by Maria Yu's avatar Maria Yu
Browse files

rtc: alarm: have dummy set_power_on_alarm function



When !CONFIG_RTC_CLASS we need to have a dummy set_power_on_alarm
function. Otherwise, it is easy to have build issues.

Change-Id: I39310241cc2e59f672964c8bc0ee4c3607aedf4e
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent a525e5d0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -207,6 +207,7 @@ struct rtc_device *alarmtimer_get_rtcdev(void)
static inline int alarmtimer_rtc_interface_setup(void) { return 0; }
static inline void alarmtimer_rtc_interface_remove(void) { }
static inline void alarmtimer_rtc_timer_init(void) { }
void set_power_on_alarm(long secs, bool enable) { }
#endif

/**