2021-09-24 03:19:17

by Florian Fainelli

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Florian Fainelli <[email protected]>
---
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


2021-09-24 21:12:26

by Markus Mayer

[permalink] [raw]
Subject: Re: [PATCH] memory: Allow building Broadcom STB DPFE as module

On Thu, 23 Sept 2021 at 20:15, Florian Fainelli <[email protected]> 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 <[email protected]>

Acked-by: Markus Mayer <[email protected]>

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
>

2021-09-30 11:53:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] memory: Allow building Broadcom STB DPFE as module

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,
--
Krzysztof Kozlowski <[email protected]>