[PATCH] reset: Allow building Broadcom STB RESCAL as module

From: Florian Fainelli
Date: Thu Sep 23 2021 - 23:08:58 EST


The driver can be built as a module and uses device managed resources.

Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index be799a5abf8a..f9d8b364db5f 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -58,7 +58,7 @@ config RESET_BRCMSTB
a SUN_TOP_CTRL_SW_INIT style controller.

config RESET_BRCMSTB_RESCAL
- bool "Broadcom STB RESCAL reset controller"
+ tristate "Broadcom STB RESCAL reset controller"
depends on HAS_IOMEM
depends on ARCH_BRCMSTB || COMPILE_TEST
default ARCH_BRCMSTB
--
2.25.1