From 3bfe8933f9d187f93f0d0910b741a59070f58c4c Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Mon, 19 Oct 2020 16:48:09 +0200 Subject: reset: meson: make it possible to build as a module In order to reduce the kernel Image size on multi-platform distributions, make it possible to build the reset controller driver as a module. This partially reverts commit 8290924e6878 ("reset: meson: make it explicitly non-modular"). Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Reviewed-by: Martin Blumenstingl Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/reset/Kconfig') diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 07d162b179fc..84baec01aa30 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -95,7 +95,8 @@ config RESET_LPC18XX This enables the reset controller driver for NXP LPC18xx/43xx SoCs. config RESET_MESON - bool "Meson Reset Driver" if COMPILE_TEST + tristate "Meson Reset Driver" + depends on ARCH_MESON || COMPILE_TEST default ARCH_MESON help This enables the reset driver for Amlogic Meson SoCs. -- cgit