alarmtimer: Don't call rtc_timer_init() when CONFIG_RTC_CLASS=n
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Mar 2012 11:46:23 +0000 (12:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 Mar 2012 11:46:23 +0000 (12:46 +0100)
rtc_timer_init() is not available when CONFIG_RTC_CLASS=n. Provide a
proper wrapper in the RTC section of alarmtimer.c

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>

No differences found