]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Don't ask about "Enhanced Real Time Clock Support" on some archs
authorTom Rini <trini@kernel.crashing.org>
Mon, 13 Jan 2003 07:23:46 +0000 (23:23 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 13 Jan 2003 07:23:46 +0000 (23:23 -0800)
The following patch adds an explicit no list of arches who do not want
to have the "Enhanced Real Time Clock Support" RTC driver asked.  This
adds PPC32 (who for a long time had their own 'generic' RTC driver, and
then have adopted the genrtc driver) and PARISC (who have always used
the genrtc driver).  Per request of Peter Chubb, IA64 is on this list as
well.

The problem is that on some archs there is no hope of this driver
working, and having it compiled into the kernel can cause many different
problems.  On the other hand, there are some arches for whom that driver
does work, on some platforms.  So having an explicit yes list would
result in some rather ugly statements.

drivers/char/Kconfig

index e04d7159b3e0c625f334c3195e4e126646c959c2..21ac3b9814d2fbbba5e070d4309d6ab317bdf3df 100644 (file)
@@ -773,6 +773,7 @@ config NVRAM
 
 config RTC
        tristate "Enhanced Real Time Clock Support"
+       depends on !PPC32 && !PARISC && !IA64
        ---help---
          If you say Y here and create a character special file /dev/rtc with
          major number 10 and minor number 135 using mknod ("man mknod"), you