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>
This commit is contained in:
@@ -761,7 +761,7 @@ source "drivers/char/hw_random/Kconfig"
|
|||||||
|
|
||||||
config NVRAM
|
config NVRAM
|
||||||
tristate "/dev/nvram support"
|
tristate "/dev/nvram support"
|
||||||
depends on ATARI || X86 || ARM || GENERIC_NVRAM
|
depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM
|
||||||
---help---
|
---help---
|
||||||
If you say Y here and create a character special file /dev/nvram
|
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"),
|
with major number 10 and minor number 144 using mknod ("man mknod"),
|
||||||
|
Reference in New Issue
Block a user