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
1 changed files with 2 additions and 0 deletions

View File

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