reset: allow building of reset simple driver if expert config selected
authorBen Dooks <ben.dooks@sifive.com>
Fri, 8 Jul 2022 16:56:56 +0000 (17:56 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 11 Jul 2022 12:41:22 +0000 (14:41 +0200)
If CONFIG_EXPERT is selected, allow selection of CONFIG_RESET_SIMPLE
if needed by the user.

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220708165656.269507-1-ben.dooks@sifive.com
drivers/reset/Kconfig

index 5afbe2daecb12fc0697f6e6162daee58beee94e2..e52f29a555e98b168565fd659766918a0f8ea641 100644 (file)
@@ -200,7 +200,7 @@ config RESET_SCMI
          firmware controlling all the reset signals.
 
 config RESET_SIMPLE
-       bool "Simple Reset Controller Driver" if COMPILE_TEST
+       bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
        default ARCH_ASPEED || ARCH_BCM4908 || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC
        help
          This enables a simple reset controller driver for reset lines that