summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-19 14:52:24 -0800
committerDavid S. Miller <davem@davemloft.net>2005-12-19 14:52:24 -0800
commitce37e5f90366cb90320a285edd2113fd807f3ab6 (patch)
treea7cd328af50a2434dc0ccd0056b941df04837cc6
parentdf7addbb45874f0f992266003155de5a22e1872f (diff)
downloadop-kernel-dev-ce37e5f90366cb90320a285edd2113fd807f3ab6.zip
op-kernel-dev-ce37e5f90366cb90320a285edd2113fd807f3ab6.tar.gz
[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>
-rw-r--r--drivers/char/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index b46a72d..696f727 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
OpenPOWER on IntegriCloud