Skip to content

Commit c7a5e01

Browse files
pigmoralpH5
authored andcommitted
reset: canaan: k230: drop OF dependency and enable by default
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: 360a7a6 ("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>
1 parent c5b7cd9 commit c7a5e01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/reset/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ config RESET_K210
161161
config RESET_K230
162162
tristate "Reset controller driver for Canaan Kendryte K230 SoC"
163163
depends on ARCH_CANAAN || COMPILE_TEST
164-
depends on OF
164+
default ARCH_CANAAN
165165
help
166166
Support for the Canaan Kendryte K230 RISC-V SoC reset controller.
167167
Say Y if you want to control reset signals provided by this

0 commit comments

Comments
 (0)