Skip to contentSkip to conversation

firmware: xilinx: nvmem: zynqmp: make modular

PATCH In review Nick Alcock 2 participants 3 messages Mar 8, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: xilinx: nvmem: zynqmp: make modular

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.

---
 drivers/nvmem/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

drivers/nvmem/Kconfig +1 -1
index 6dec38805041b..3b3832f4dfad1 100644
@@ -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
Signature · 1 line
2.39.1.268.g9de2f9a303
#1 lore raw

PATCH 1/1 mailbox: zynq: make modular

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.

---
 drivers/mailbox/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Also adjusted as requested.

drivers/mailbox/Kconfig +1 -1
index 1495965bc394c..af6b0f5b491dd 100644
@@ -259,7 +259,7 @@ config MTK_CMDQ_MBOX
 	  during the vblank.
 
 config ZYNQMP_IPI_MBOX
-	bool "Xilinx ZynqMP IPI Mailbox"
+	tristate "Xilinx ZynqMP IPI Mailbox"
 	depends on ARCH_ZYNQMP && OF
 	help
 	  Say yes here to add support for Xilinx IPI mailbox driver.
Signature · 1 line
2.39.1.268.g9de2f9a303
#2 lore raw
In reply to Nick Alcock
Quoted 12 lines · Nick Alcock

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.

Quoted 1 line

---

Thanks for fixing this,

Applied thanks,

--srini

Quoted 18 lines
  drivers/nvmem/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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

drivers/nvmem/Kconfig +1 -1
index 6dec38805041b..3b3832f4dfad1 100644
@@ -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