Skip to contentSkip to conversation

genrtc: disable genrtc on Blackfin systems

PATCH In review Bryan Wu 4 participants 4 messages Nov 18, 2008 – Nov 19, 2008 Char and misc drivers

lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH 1/1 genrtc: disable genrtc on Blackfin systems

From: Mike Frysinger <[email protected]>

---
 drivers/char/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/Kconfig +1 -1
index 43d6ba8..a92a60a 100644
@@ -814,7 +814,7 @@ config JS_RTC
 
 config GEN_RTC
 	tristate "Generic /dev/rtc emulation"
-	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32
+	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN
 	---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
Signature · 1 line
1.5.6.3
#2 lore raw
In reply to Bryan Wu
Quoted 4 lines · On Tue, 18 Nov 2008 15:00:15 +0800 Bryan Wu <[email protected]> wrote:

From: Mike Frysinger <[email protected]>

What is the reason for this change?

drivers/char/Kconfig config JS_RTC · line 817

Quoted 10 lines
drivers/char/Kconfig +1 -1
index 43d6ba8..a92a60a 100644
@@ -814,7 +814,7 @@ config JS_RTC
 
 config GEN_RTC
 	tristate "Generic /dev/rtc emulation"
-	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32
+	depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN

Gawd that's stupid. It'd be much better to add a new CONFIG_ARCH_SUPPORTS_GENRTC in arch/*/Kconfig.

Oh well. I suppose we can run with this patch for now. Once we know what it's for.