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

From: Florian Fainelli
Date: Tue Jan 22 2019 - 19:33:56 EST


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

Reported-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
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