diff options
-rw-r--r-- | drivers/char/Kconfig | 11 | ||||
-rw-r--r-- | drivers/rtc/Kconfig | 5 |
2 files changed, 11 insertions, 5 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 2906ee7bd298..929d4fa73fd9 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -732,9 +732,16 @@ config NVRAM | |||
732 | To compile this driver as a module, choose M here: the | 732 | To compile this driver as a module, choose M here: the |
733 | module will be called nvram. | 733 | module will be called nvram. |
734 | 734 | ||
735 | # | ||
736 | # These legacy RTC drivers just cause too many conflicts with the generic | ||
737 | # RTC framework ... let's not even try to coexist any more. | ||
738 | # | ||
739 | if RTC_LIB=n | ||
740 | |||
735 | config RTC | 741 | config RTC |
736 | tristate "Enhanced Real Time Clock Support" | 742 | tristate "Enhanced Real Time Clock Support" |
737 | depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM && !SUPERH && !S390 && !AVR32 | 743 | depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \ |
744 | && !ARM && !SUPERH && !S390 && !AVR32 | ||
738 | ---help--- | 745 | ---help--- |
739 | If you say Y here and create a character special file /dev/rtc with | 746 | If you say Y here and create a character special file /dev/rtc with |
740 | major number 10 and minor number 135 using mknod ("man mknod"), you | 747 | major number 10 and minor number 135 using mknod ("man mknod"), you |
@@ -840,6 +847,8 @@ config DS1302 | |||
840 | will get access to the real time clock (or hardware clock) built | 847 | will get access to the real time clock (or hardware clock) built |
841 | into your computer. | 848 | into your computer. |
842 | 849 | ||
850 | endif # RTC_LIB | ||
851 | |||
843 | config COBALT_LCD | 852 | config COBALT_LCD |
844 | bool "Support for Cobalt LCD" | 853 | bool "Support for Cobalt LCD" |
845 | depends on MIPS_COBALT | 854 | depends on MIPS_COBALT |
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 02a4c8cf2b2d..6cc2c0330230 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -20,10 +20,6 @@ menuconfig RTC_CLASS | |||
20 | 20 | ||
21 | if RTC_CLASS | 21 | if RTC_CLASS |
22 | 22 | ||
23 | if GEN_RTC || RTC | ||
24 | comment "Conflicting RTC option has been selected, check GEN_RTC and RTC" | ||
25 | endif | ||
26 | |||
27 | config RTC_HCTOSYS | 23 | config RTC_HCTOSYS |
28 | bool "Set system time from RTC on startup and resume" | 24 | bool "Set system time from RTC on startup and resume" |
29 | depends on RTC_CLASS = y | 25 | depends on RTC_CLASS = y |
@@ -304,6 +300,7 @@ comment "Platform RTC drivers" | |||
304 | config RTC_DRV_CMOS | 300 | config RTC_DRV_CMOS |
305 | tristate "PC-style 'CMOS'" | 301 | tristate "PC-style 'CMOS'" |
306 | depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS | 302 | depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS |
303 | default y if X86 | ||
307 | help | 304 | help |
308 | Say "yes" here to get direct support for the real time clock | 305 | Say "yes" here to get direct support for the real time clock |
309 | found in every PC or ACPI-based system, and some other boards. | 306 | found in every PC or ACPI-based system, and some other boards. |