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

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

Reply via email to