Re: [2.6 patch] avr32: don't offer CONFIG_GEN_RTC

Previous thread: [2.6 patch] avr32: don't offer CONFIG_RTC by Adrian Bunk on Monday, April 14, 2008 - 7:16 am. (1 message)

Next thread: [2.6 patch] avr32 mustn't select HAVE_IDE by Adrian Bunk on Monday, April 14, 2008 - 7:16 am. (3 messages)
From: Adrian Bunk
Date: Monday, April 14, 2008 - 7:16 am

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>

---
a2136f51db673446bfcc0ebc1b92e62d8ddb3f57 diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 79c6fd1..a87b89d 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 && !AVR32
 	---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
--

From: Paul Gortmaker
Date: Monday, April 14, 2008 - 6:08 pm

I'm assuming this must be a randconfig error, as at
a glance, nothing in arch/avr32/configs/* is setting
GEN_RTC.




      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
--

From: Adrian Bunk
Date: Tuesday, April 15, 2008 - 2:06 am

Not randconfig, I tried allmodconfig.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

Previous thread: [2.6 patch] avr32: don't offer CONFIG_RTC by Adrian Bunk on Monday, April 14, 2008 - 7:16 am. (1 message)

Next thread: [2.6 patch] avr32 mustn't select HAVE_IDE by Adrian Bunk on Monday, April 14, 2008 - 7:16 am. (3 messages)