Kevin Hilman 8dc0839510 rtc: kconfig: fix RTC_INTF defaults connected to RTC_CLASS
Commit 6b8029fab641 ("rtc: kconfig: remove unnecessary dependencies")
removed various 'depends on RTC_CLASS' dependencies but also removed a
few 'default RTC_CLASS' statements, which actually changed default
behavior.

This resulted in the various RTC interfaces (sysfs, proc, dev) all being
disabled by default, even when RTC_CLASS is enabled:

   # CONFIG_RTC_INTF_SYSFS is not set
   # CONFIG_RTC_INTF_PROC is not set
   # CONFIG_RTC_INTF_DEV is not set

which is different from previous behavior (all of these where enabled.)

To fix, add back the 'default RTC_CLASS' statments to each of the
RTC_INTF_* options.

I noticed this because some RTC tests started failing on my TI OMAP
platforms because /dev/rtc0 was not present anymore, even though the
driver was present and RTC_CLASS was enabled.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Acked-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-11 08:50:16 +09:00
..
2012-10-02 19:01:32 -07:00
2012-10-02 17:26:42 -07:00
2012-10-07 20:55:16 +09:00
2012-10-09 07:07:14 +09:00
2012-10-07 20:55:16 +09:00
2012-10-07 20:55:16 +09:00
2012-09-26 22:28:21 -04:00
2012-09-22 10:29:19 +01:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-05 12:01:30 +09:00
2012-10-07 17:29:24 +09:00
2012-10-03 09:44:08 -07:00
2012-10-01 19:11:38 -07:00
2012-10-07 20:55:16 +09:00
2012-10-07 17:29:24 +09:00
2012-10-05 12:01:30 +09:00
2012-10-01 19:11:38 -07:00
2012-10-07 20:55:16 +09:00
2012-10-01 12:09:59 -07:00
2012-10-01 18:46:13 -07:00