linux/drivers/rtc
David Brownell c750090085 rtc: avoid legacy drivers with generic framework
Kconfig tweaks to help reduce RTC configuration bugs, by avoiding
legacy RTC drivers when the generic RTC framework is enabled:

 - If rtc-cmos is selected, disable the legacy rtc driver;

 - When using generic RTC on x86, enable rtc-cmos by default;

 - In the old "chardev RTC" section of Kconfig, add a comment
   warning people off these (seven) legacy RTC drivers when
   the generic framework is in use.

People can still use the legacy drivers if they want (or need) to.

This doesn't fix the broken dependencies for the legacy "CMOS" RTC driver.
Ideally it would be a full list of platforms where it works, not a partial
list of ones where it won't.  Or better yet, it would depend on a
"HAVE_CMOS_RTC" flag defined by various platforms ...  surely there's a
Kconfig style guideline lurking there.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:16 -07:00
..
Kconfig rtc: avoid legacy drivers with generic framework 2008-04-28 08:58:16 -07:00
Makefile rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
class.c
hctosys.c
interface.c rtc: use class iteration api 2008-01-24 20:40:44 -08:00
rtc-at32ap700x.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91rm9200.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91sam9.c rtc-at91sam9 fixes 2008-03-19 18:53:37 -07:00
rtc-bfin.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-cmos.c rtc: fix the error in the function of cmos_set_alarm 2008-04-15 19:35:40 -07:00
rtc-core.h
rtc-dev.c rtc-cmos alarm acts as oneshot 2008-02-06 10:41:13 -08:00
rtc-ds1216.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1302.c rtc: ds1302 rtc support 2008-02-06 10:41:13 -08:00
rtc-ds1307.c rtc ds1307: ds_1340 change init 2008-02-06 10:41:14 -08:00
rtc-ds1374.c
rtc-ds1511.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1553.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1672.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-ds1742.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ep93xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-isl1208.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-lib.c
rtc-m41t80.c
rtc-m48t59.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-m48t86.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-max6900.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-max6902.c spi: use simplified spi_sync() calling convention 2007-12-05 09:21:19 -08:00
rtc-omap.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-pcf8563.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-pcf8583.c rtc-pcf8583 build fix 2008-04-28 08:58:16 -07:00
rtc-pl031.c
rtc-proc.c
rtc-r9701.c rtc-r9701.c: silence compiler warning 2008-02-09 23:27:01 -08:00
rtc-rs5c313.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-rs5c348.c
rtc-rs5c372.c
rtc-s3c.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-s35390a.c rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
rtc-sa1100.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sh.c rtc: rtc-sh: Add support for periodic IRQs. 2008-04-18 09:50:01 -07:00
rtc-stk17ta8.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sysfs.c rtc-cmos alarm acts as oneshot 2008-02-06 10:41:13 -08:00
rtc-test.c
rtc-v3020.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-vr41xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-x1205.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00