login
Header Space

 
 

[2.6 patch] xtensa: don't offer CONFIG_GEN_RTC

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <chris@...>, <p_gortmaker@...>
Cc: <linux-kernel@...>
Date: Monday, April 14, 2008 - 3:55 pm

This patch fixes the following compile error:

<--  snip  -->

...
  CC [M]  drivers/char/genrtc.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/genrtc.c:58:21: error: asm/rtc.h: No such file or directory
...
make[3]: *** [drivers/char/genrtc.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
8efde38c14112370e1a2cdbe64a99c0c50f18f4f diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 5dc5794..da98c9a 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -776,7 +776,7 @@ config SGI_IP27_RTC
 
 config GEN_RTC
 	tristate "Generic /dev/rtc emulation"
-	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH
+	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !XTENSA
 	---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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] xtensa: don't offer CONFIG_GEN_RTC, Adrian Bunk, (Mon Apr 14, 3:55 pm)
speck-geostationary