From 13f995ceb4e0d669e293aedaaaea07e7b8a5792a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 23 Sep 2021 20:14:59 -0700 Subject: memory: brcmstb_dpfe: 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 Acked-by: Markus Mayer Link: https://lore.kernel.org/r/20210924031459.8911-1-f.fainelli@gmail.com Signed-off-by: Krzysztof Kozlowski --- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/memory/Kconfig') 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 -- cgit v1.2.3 From 4a26df8e60e534110f37e23c068f25f2f523bb83 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Tue, 5 Oct 2021 17:29:22 +0200 Subject: memory: renesas-rpc-if: RENESAS_RPCIF should select RESET_CONTROLLER The Renesas RPC-IF driver calls devm_reset_control_get_exclusive(), which returns -ENOTSUPP if CONFIG_RESET_CONTROLLER is not enabled. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang Link: https://lore.kernel.org/r/e443aa66d146da5646b7ebece8876545b8621063.1633447756.git.geert+renesas@glider.be Signed-off-by: Krzysztof Kozlowski --- drivers/memory/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/memory/Kconfig') diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 72c0df129d5c..547f956f6c29 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -210,6 +210,7 @@ config RENESAS_RPCIF tristate "Renesas RPC-IF driver" depends on ARCH_RENESAS || COMPILE_TEST select REGMAP_MMIO + select RESET_CONTROLLER help This supports Renesas R-Car Gen3 or RZ/G2 RPC-IF which provides either SPI host or HyperFlash. You'll have to select individual -- cgit v1.2.3