[PATCH] firmware: xilinx: nvmem: zynqmp: make modular

Nick Alcock nick.alcock at oracle.com
Wed Mar 8 04:27:02 PST 2023


This driver has a MODULE_LICENSE but is not tristate so cannot be
built as a module, unlike all its peers: make it modular to match.

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
Suggested-by: Michal Simek <michal.simek at amd.com>
Cc: Luis Chamberlain <mcgrof at kernel.org>
Cc: linux-modules at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: Hitomi Hasegawa <hasegawa-hitomi at fujitsu.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: linux-arm-kernel at lists.infradead.org
---
 drivers/nvmem/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

How's this?  (This supplants the previous patch, obviously.)

diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 6dec38805041b..3b3832f4dfad1 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -368,7 +368,7 @@ config NVMEM_VF610_OCOTP
 	  be called nvmem-vf610-ocotp.
 
 config NVMEM_ZYNQMP
-	bool "Xilinx ZYNQMP SoC nvmem firmware support"
+	tristate "Xilinx ZYNQMP SoC nvmem firmware support"
 	depends on ARCH_ZYNQMP
 	help
 	  This is a driver to access hardware related data like
-- 
2.39.1.268.g9de2f9a303




More information about the linux-arm-kernel mailing list