commit | 057d23aac74b56d6b3562544e173b0c31ab4cb70 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@codeaurora.org> | Thu Jan 02 14:15:29 2014 -0600 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Wed Jan 08 19:06:32 2014 -0800 |
tree | d37eba0d439549ae4e16661f41a38734caca6bbd | |
parent | c8e39270f215774ba04a1d026fb883fcca869196 [diff] |
rtc: alarm: init power_on_alarm_lock mutex in alarmtimer_rtc_timer_init Moved mutex_init of power_on_alarm_lock into alarmtimer_rtc_timer_init so that if CONFIG_RTC_CLASS is not enabled, we dont try to initialize the mutex. This fixes a build issue when !CONFIG_RTC_CLASS Change-Id: I270564b94fd54162aa177a2c9767655098662259 Signed-off-by: Kumar Gala <galak@codeaurora.org>