lkml.org 
[lkml]   [2005]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] on sparc{,64}, RTC must depend on PCI
On Fri, Dec 16, 2005 at 07:10:05PM -0500, Gerhard Mack wrote:
>
> I always forget that for some reason.
> If I disable CONFIG_RTC it compiles cleanly.

That's expected since this is the driver that breaks the build.

The patch below adds the dependency of CONFIG_RTC on CONFIG_PCI on the
sparc architecture.

> Gerhard

cu
Adrian

BTW: @sparc maintainers:
Is there any reason against introducing a SPARC Kconfig symbol
that is set on both the sparc and sparc64 architectures?


<-- snip -->


On sparc and sparc64, the rtc driver doesn't compile with PCI support
disabled.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.14.4/drivers/char/Kconfig.old 2005-12-17 15:03:06.000000000 +0100
+++ linux-2.6.14.4/drivers/char/Kconfig 2005-12-17 15:03:33.000000000 +0100
@@ -687,7 +687,7 @@

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-17 15:14    [W:0.738 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site