diff options
author | Tom Rini <trini@konsulko.com> | 2025-07-01 19:04:32 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-10 08:41:05 -0600 |
commit | e7342decd5ec1e55126e16cb761c61289c150a1b (patch) | |
tree | 443ea1916bfbac85f360d9dd828fa1cf8baea636 | |
parent | a713fa1b5d4090fde3d84d25b7800de8f9feba62 (diff) |
adc: Tighten some adc driver dependencies
A few adc drivers cannot build without access to some platform specific
header files. Express those requirements in Kconfig as well.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/adc/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig index 37235f557a3..2b45f9e5eba 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -18,7 +18,7 @@ config SPL_ADC config ADC_EXYNOS bool "Enable Exynos 54xx ADC driver" - depends on ADC + depends on ADC && ARCH_EXYNOS5 help This enables basic driver for Exynos ADC compatible with Exynos54xx. It provides: @@ -49,7 +49,7 @@ config SARADC_MESON config SARADC_ROCKCHIP bool "Enable Rockchip SARADC driver" - depends on ADC + depends on ADC && ARCH_ROCKCHIP help This enables driver for Rockchip SARADC. It provides: |