aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-01-31 01:21:59 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-01-31 01:21:59 +0100
commit807a96cd0e5f5311e7f7a1030b43aab624cd7d9f (patch)
treee9b870642cd4484130aa42fa4ea7b511bc390e6e /drivers/char
parentbcc8f3e01facc51b9d4f6351cd866f19eac0b5ae (diff)
downloadkernel_samsung_smdk4412-807a96cd0e5f5311e7f7a1030b43aab624cd7d9f.zip
kernel_samsung_smdk4412-807a96cd0e5f5311e7f7a1030b43aab624cd7d9f.tar.gz
kernel_samsung_smdk4412-807a96cd0e5f5311e7f7a1030b43aab624cd7d9f.tar.bz2
NVRAM depends on RTC_DRV_CMOS
drivers/char/nvram.c uses rtc_lock, that (on ARM) is only defined if RTC_DRV_CMOS is enabled. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index f5be808..735bbe2 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -761,7 +761,7 @@ source "drivers/char/hw_random/Kconfig"
config NVRAM
tristate "/dev/nvram support"
- depends on ATARI || X86 || ARM || GENERIC_NVRAM
+ depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM
---help---
If you say Y here and create a character special file /dev/nvram
with major number 10 and minor number 144 using mknod ("man mknod"),