diff --git a/drivers/sensor/examplesensor/Kconfig b/drivers/sensor/examplesensor/Kconfig index 384a5fa..a8ab99a 100644 --- a/drivers/sensor/examplesensor/Kconfig +++ b/drivers/sensor/examplesensor/Kconfig @@ -4,6 +4,7 @@ config EXAMPLESENSOR bool "Example sensor" default y - depends on GPIO && DT_HAS_ZEPHYR_EXAMPLESENSOR_ENABLED + depends on DT_HAS_ZEPHYR_EXAMPLESENSOR_ENABLED + select GPIO help Enable example sensor