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)
commitc5e14e763046b11dd8bf57b5dc9f3ab444af8e60
tree8f3c68218ef4ffadeb5c0620b9d2fe6e1fd17281
parent68fe7b23d559763a2e19e5fc1cf7036e4aaecb10
alarmtimer: Don't call rtc_timer_init() when CONFIG_RTC_CLASS=n

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>
kernel/time/alarmtimer.c