Skip to content

Commit 4fe22b0

Browse files
drivers: sensors: nxp: kinetis: temp: select CONFIG_ADC
The NXP Kinetis temperature sensor depends on CONFIG_ADC. Make the driver Kconfig select CONFIG_ADC to get better CI coverage (enabling the driver when CONFIG_SENSOR is enabled without depending on CONFIG_ADC=y). Signed-off-by: Henrik Brix Andersen <[email protected]> (cherry picked from commit 0a49b78)
1 parent f743d12 commit 4fe22b0

File tree

1 file changed

+2
-1
lines changed
  • drivers/sensor/nxp_kinetis_temp

1 file changed

+2
-1
lines changed

drivers/sensor/nxp_kinetis_temp/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ config TEMP_KINETIS
77
bool "NXP Kinetis Temperature Sensor"
88
default y
99
depends on DT_HAS_NXP_KINETIS_TEMPERATURE_ENABLED
10-
depends on (ADC && SOC_FAMILY_KINETIS)
10+
depends on SOC_FAMILY_KINETIS
11+
select ADC
1112
help
1213
Enable driver for NXP Kinetis temperature sensor.
1314

0 commit comments

Comments
 (0)