1 From 2579d9b982c7232f9354bcca5262e26a84c38799 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Fri, 2 Nov 2018 17:40:32 +0100
4 Subject: [PATCH] nvmem: make CONFIG_NVMEM tristate again
6 Only build it in when OF_NET is selected and make it possible to build
7 it as module otherwise.
9 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
11 drivers/nvmem/Kconfig | 2 +-
12 drivers/of/Kconfig | 1 +
13 2 files changed, 2 insertions(+), 1 deletion(-)
15 --- a/drivers/nvmem/Kconfig
16 +++ b/drivers/nvmem/Kconfig
19 - bool "NVMEM Support"
20 + tristate "NVMEM Support"
22 Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES...
24 --- a/drivers/of/Kconfig
25 +++ b/drivers/of/Kconfig
26 @@ -71,6 +71,7 @@ config OF_IRQ