diff options
author | Alexandre Belloni | 2018-02-06 23:05:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-03-15 18:01:42 +0100 |
commit | 3ba9faedc180097805613dac7a866432852cc4e5 (patch) | |
tree | eb2d9a7d17a8faa42b3a755fbc64cbe53989dcea | |
parent | 75a898051d3d2a105b3a0ca8be6e356429a68457 (diff) |
char: nvram: disable on ARM
/dev/nvram was never meant to be used alongside the RTC CMOS driver from
drivers/rtc as it already expose the NVRAM through another interface..
Anyway, the last defconfig to enable it properly was removed in 2010 so
prevent ARM users from selecting it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index c28dca0c613d..9bcac927cfd0 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -264,7 +264,7 @@ source "drivers/char/hw_random/Kconfig" config NVRAM tristate "/dev/nvram support" - depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM + depends on ATARI || X86 || 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"), |