drivers: analog: exclude BSD components from build

Unless ALLOW_BSD_COMPONENTS is enabled ADC/DAC support will not
be built

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2022-02-21 07:56:47 +00:00 committed by Xiang Xiao
parent 32401a0adb
commit 8e8b68b131

View File

@ -67,6 +67,7 @@ config ADC_ADS125X
default n default n
select SPI select SPI
select SCHED_HPWORK select SCHED_HPWORK
depends on ALLOW_BSD_COMPONENTS
if ADC_ADS125X if ADC_ADS125X
@ -207,6 +208,7 @@ if DAC
config DAC_AD5410 config DAC_AD5410
bool "AD5410 support" bool "AD5410 support"
default n default n
depends on ALLOW_BSD_COMPONENTS
select SPI select SPI
config DAC7571 config DAC7571