timers: Fix alarmtimer build issues when CONFIG_RTC_CLASS=n
authorJohn Stultz <john.stultz@linaro.org>
Fri, 29 Apr 2011 22:03:10 +0000 (15:03 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 2 May 2011 19:36:57 +0000 (21:36 +0200)
Ingo pointed out that the alarmtimers won't build if CONFIG_RTC_CLASS=n.
This patch adds proper ifdefs to the alarmtimer code to disable the rtc
usage if it is not built in.

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

No differences found