All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] char: nvram: disable on ARM
@ 2018-02-06 22:05 Alexandre Belloni
  2018-02-06 22:55 ` Arnd Bergmann
  0 siblings, 1 reply; 8+ messages in thread
From: Alexandre Belloni @ 2018-02-06 22:05 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Arnd Bergmann; +Cc: linux-kernel, Alexandre Belloni

/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>
---
 drivers/char/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"),
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-07 18:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-06 22:05 [PATCH] char: nvram: disable on ARM Alexandre Belloni
2018-02-06 22:55 ` Arnd Bergmann
2018-02-07  1:55   ` Alexandre Belloni
2018-02-07 10:33     ` Arnd Bergmann
2018-02-07 12:48       ` Alexandre Belloni
2018-02-07 14:00         ` Arnd Bergmann
2018-02-07 15:47           ` Alexandre Belloni
2018-02-07 18:46             ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.