RTC: Disable CONFIG_RTC_CLASS from being built as a module
authorJohn Stultz <john.stultz@linaro.org>
Fri, 29 Apr 2011 22:03:11 +0000 (15:03 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 2 May 2011 19:36:57 +0000 (21:36 +0200)
commitb4d246b12410b53506c311e5e0b6abb71ead65c6
tree9790105503304f3790f19fd266614267e020b854
parent472647dcd7e351dbeda750e5ab3e8f7b06d1199a
RTC: Disable CONFIG_RTC_CLASS from being built as a module

The RTC subsystem has a number of accessors that are available via
include/linux/rtc.h. However many of these interfaces are not
available for use if CONFIG_RTC_CLASS=m.

So in order to support wider use of the RTC in the kernel, I'm
removing the tristate config option for a bool, so that code can
easily be conditionalized if the RTC class is present or not.

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