| commit | 70b5bc59cd299934628492bb8cf4254fcc37c0c8 | [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:51 2017 -0400 |
| tree | 264c806598b2594d3d292bd5e47afaee908b8ad9 | |
| parent | bbfb7dad3997363d353f2a90a4408a440ea92198 [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>