forked from rubenslte/android_kernel_samsung_msm8226
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: Maria Yu <aiquny@codeaurora.org>
This commit is contained in:
@@ -125,6 +125,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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user