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)
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>

No differences found