Subject: [PATCH reset-next 1/2] reset: brcmstb: Make it tristate

From: Florian Fainelli <[email-masked]>
Date: Tue, 22 Jan 2019 16:33:44 -0800

The driver can be built as a module just fine, so let's make it
selectable as such.

Reported-by: Paul Gortmaker <[email-masked]>
Signed-off-by: Florian Fainelli <[email-masked]>
---
 drivers/reset/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 1ca03c57e049..d9a02b7f90cf 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -41,7 +41,8 @@ config RESET_BERLIN
 	  This enables the reset controller driver for Marvell Berlin SoCs.
 
 config RESET_BRCMSTB
-	bool "Broadcom STB reset controller" if COMPILE_TEST
+	tristate "Broadcom STB reset controller"
+	depends on ARCH_BRCMSTB || COMPILE_TEST
 	default ARCH_BRCMSTB
 	help
 	  This enables the reset controller driver for Broadcom STB SoCs using
-- 
2.17.1