]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
reset: canaan: k230: drop OF dependency and enable by default
authorJunhui Liu <junhui.liu@pigmoral.tech>
Sat, 17 Jan 2026 10:06:22 +0000 (18:06 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Sat, 24 Jan 2026 15:45:19 +0000 (16:45 +0100)
The driver doesn't use any symbols depending on CONFIG_OF, so drop the
dependency. Also, enable it by default when ARCH_CANAAN is selected.

Fixes: 360a7a647759 ("reset: canaan: add reset driver for Kendryte K230")
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig

index 6e5d6deffa7d367040b0b380b78ce02d775a3a63..52ee102621eef131922b7589bdbaaaab04e73a6b 100644 (file)
@@ -161,7 +161,7 @@ config RESET_K210
 config RESET_K230
        tristate "Reset controller driver for Canaan Kendryte K230 SoC"
        depends on ARCH_CANAAN || COMPILE_TEST
-       depends on OF
+       default ARCH_CANAAN
        help
          Support for the Canaan Kendryte K230 RISC-V SoC reset controller.
          Say Y if you want to control reset signals provided by this