diff mbox series

memory: Allow building Broadcom STB DPFE as module

Message ID 20210924031459.8911-1-f.fainelli@gmail.com (mailing list archive)
State New, archived
Headers show
Series memory: Allow building Broadcom STB DPFE as module | expand

Commit Message

Florian Fainelli Sept. 24, 2021, 3:14 a.m. UTC
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.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/memory/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Markus Mayer Sept. 24, 2021, 3:27 p.m. UTC | #1
On Thu, 23 Sept 2021 at 20:15, Florian Fainelli <f.fainelli@gmail.com> wrote:
>
> 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.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Acked-by: Markus Mayer <mmayer@broadcom.com>

Thanks!


> ---
>  drivers/memory/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
> index 72c0df129d5c..0ebb83b35a64 100644
> --- a/drivers/memory/Kconfig
> +++ b/drivers/memory/Kconfig
> @@ -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
>
Krzysztof Kozlowski Sept. 30, 2021, 11:50 a.m. UTC | #2
On Thu, 23 Sep 2021 20:14:59 -0700, Florian Fainelli wrote:
> 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,
diff mbox series

Patch

diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index 72c0df129d5c..0ebb83b35a64 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -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