summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-20 01:52:24 +0300
committerDavid S. Miller <davem@davemloft.net>2005-12-20 01:52:24 +0300
commitce37e5f90366cb90320a285edd2113fd807f3ab6 (patch)
treea7cd328af50a2434dc0ccd0056b941df04837cc6 /drivers/char
parentdf7addbb45874f0f992266003155de5a22e1872f (diff)
downloadlinux-ce37e5f90366cb90320a285edd2113fd807f3ab6.tar.xz
[SPARC]: Fix RTC build failure.
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index b46a72d782d6..696f72787fe8 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -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