projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc8f3e
)
NVRAM depends on RTC_DRV_CMOS
author
Uwe Kleine-König
<
[email protected]
>
Sat, 31 Jan 2009 00:21:59 +0000
(
01:21
+0100)
committer
Uwe Kleine-König
<
[email protected]
>
Sat, 31 Jan 2009 00:21:59 +0000
(
01:21
+0100)
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 <
[email protected]
>
drivers/char/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/char/Kconfig
b/drivers/char/Kconfig
index f5be8081cd8187e87a5e3d85254abefc2be1e85b..735bbe2be51aaf73819078c543320c5fc9111bbc 100644
(file)
--- 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"),