Skip to content

Commit e5de3ac

Browse files
committed
drivers: reset: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers Signed-off-by: Kumar Gala <[email protected]>
1 parent e3a75fe commit e5de3ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/reset/Kconfig.rpi_pico

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Copyright (c) 2022 Andrei-Edward Popa
22
# SPDX-License-Identifier: Apache-2.0
33

4-
# Workaround for not being able to have commas in macro arguments
5-
DT_COMPAT_RPI_PICO_RESET := raspberrypi,pico-reset
6-
74
config RESET_RPI_PICO
85
bool "Raspberry Pi Reset Controller driver"
9-
default $(dt_compat_enabled,$(DT_COMPAT_RPI_PICO_RESET))
6+
default y
7+
depends on DT_HAS_RASPBERRYPI_PICO_RESET_ENABLED

0 commit comments

Comments
 (0)