Skip to contentSkip to conversation

xtensa: don't offer CONFIG_RTC

PATCH In review Adrian Bunk 2 participants 2 messages Apr 14, 2008 – Apr 15, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: don't offer CONFIG_RTC

This patch fixes the following compile error:

<-- snip -->

...
CC [M] drivers/char/rtc.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/rtc.c:70:
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mc146818rtc.h:16:59: error: asm/mc146818rtc.h: No such file or directory
...
make[3]: *** [drivers/char/rtc.o] Error 1

<-- snip -->

---
58a9730328adf21f2b76b8ab3a586da2d7e8bcfa diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index a87b89d..5dc5794 100644

drivers/char/Kconfig +1 -1
@@ -706,7 +706,7 @@ config NVRAM
 
 config RTC
 	tristate "Enhanced Real Time Clock Support"
-	depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM && !SUPERH && !S390
+	depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM && !SUPERH && !S390 && !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
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · --- Adrian Bunk

This patch fixes the following compile error:

<-- snip -->

...
CC [M] drivers/char/rtc.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/rtc.c:70:

/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mc146818rtc.h:16:59:

Quoted 7 lines

error: asm/mc146818rtc.h: No such file or directory
...
make[3]: *** [drivers/char/rtc.o] Error 1

<-- snip -->

      __________________________________________________________________

Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/