summaryrefslogtreecommitdiffstats
path: root/drivers/reset/Kconfig
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2021-06-07 12:10:15 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-06-07 12:45:59 +0200
commit5e787cdf0313182d9d9ebefdd261fa161ad365f6 (patch)
tree29e5831352a363bcb7c0c793aa5c5df2d99012c8 /drivers/reset/Kconfig
parentreset: bail if try_module_get() fails (diff)
downloadlinux-5e787cdf0313182d9d9ebefdd261fa161ad365f6.tar.xz
linux-5e787cdf0313182d9d9ebefdd261fa161ad365f6.zip
reset: berlin: support module build
Make reset-berlin driver to be tristate module, support to build as a module, this is useful for GKI. Partially reverts commit ed4dba99cae8 ("reset: berlin: make it explicitly non-modular") Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Link: https://lore.kernel.org/r/20210607181015.5b8d3711@xhacker.debian Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r--drivers/reset/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index a52d45cea757..1a0403927a99 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -43,8 +43,9 @@ config RESET_BCM6345
This enables the reset controller driver for BCM6345 SoCs.
config RESET_BERLIN
- bool "Berlin Reset Driver" if COMPILE_TEST
- default ARCH_BERLIN
+ tristate "Berlin Reset Driver"
+ depends on ARCH_BERLIN || COMPILE_TEST
+ default m if ARCH_BERLIN
help
This enables the reset controller driver for Marvell Berlin SoCs.