| commit | c58c309a20ef1b35a84fc4fbe8b2dcb3258ba013 | [log] [tgz] |
|---|---|---|
| author | Kumar Gala <galak@codeaurora.org> | Thu Jan 02 14:15:29 2014 -0600 |
| committer | William Bellavance <flintman@flintmancomputers.com> | Thu Sep 07 05:59:47 2017 -0400 |
| tree | c386f3c02f6fcf5bb161103dd39efd401c64972e | |
| parent | 85a1ac53298d2e1179511b9ad3128a60e715e017 [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>