[SPARC]: Fix RTC build failure.
authorAdrian Bunk <bunk@stusta.de>
Mon, 19 Dec 2005 22:52:24 +0000 (14:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2005 22:52:24 +0000 (14:52 -0800)
On sparc and sparc64, the rtc driver doesn't compile with PCI support
disabled.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/char/Kconfig

index b46a72d..696f727 100644 (file)
@@ -687,7 +687,7 @@ config NVRAM
 
 config RTC
        tristate "Enhanced Real Time Clock Support"
-       depends on !PPC32 && !PARISC && !IA64 && !M68K
+       depends on !PPC32 && !PARISC && !IA64 && !M68K && (!(SPARC32 || SPARC64) || PCI)
        ---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