Skip to contentSkip to conversation

memory: Allow building Broadcom STB DPFE as module

PATCH Applied Florian Fainelli 3 participants 3 messages Sep 24, 2021 – Sep 30, 2021 Memory controller drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memory: Allow building Broadcom STB DPFE as module

Allow building the Broadcom STB DPFE driver as a module, it is already a platform driver proper with all of the resource releasing device managed.

---
 drivers/memory/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/memory/Kconfig +2 -2
index 72c0df129d5c..0ebb83b35a64 100644
@@ -55,8 +55,8 @@ config ATMEL_EBI
 	  SRAMs, ATA devices, etc.
 
 config BRCMSTB_DPFE
-	bool "Broadcom STB DPFE driver" if COMPILE_TEST
-	default y if ARCH_BRCMSTB
+	tristate "Broadcom STB DPFE driver"
+	default ARCH_BRCMSTB
 	depends on ARCH_BRCMSTB || COMPILE_TEST
 	help
 	  This driver provides access to the DPFE interface of Broadcom
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Florian Fainelli

Allow building the Broadcom STB DPFE driver as a module, it is already a platform driver proper with all of the resource releasing device managed.

Thanks!

Quoted 22 lines
---
 drivers/memory/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/memory/Kconfig +2 -3
index 72c0df129d5c..0ebb83b35a64 100644
@@ -55,8 +55,8 @@ config ATMEL_EBI
          SRAMs, ATA devices, etc.
 
 config BRCMSTB_DPFE
-       bool "Broadcom STB DPFE driver" if COMPILE_TEST
-       default y if ARCH_BRCMSTB
+       tristate "Broadcom STB DPFE driver"
+       default ARCH_BRCMSTB
        depends on ARCH_BRCMSTB || COMPILE_TEST
        help
          This driver provides access to the DPFE interface of Broadcom
--

2.25.1

#2 lore raw
In reply to Florian Fainelli
Quoted 5 lines · Florian Fainelli

Allow building the Broadcom STB DPFE driver as a module, it is already a platform driver proper with all of the resource releasing device managed.

Applied, thanks!

[1/1] memory: Allow building Broadcom STB DPFE as module

      commit: 13f995ceb4e0d669e293aedaaaea07e7b8a5792a

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>