drivers: dai: Update drivers to use devicetree Kconfig symbol

Update dai drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-31 11:45:54 -05:00 committed by Carles Cufí
commit 1bee3326ad
3 changed files with 6 additions and 6 deletions

View file

@ -3,11 +3,10 @@
# Copyright (c) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_INTEL_ALH_DAI := intel,alh-dai
config DAI_INTEL_ALH
bool "Intel ALH driver for Dai interface"
default $(dt_compat_enabled,$(DT_COMPAT_INTEL_ALH_DAI))
default y
depends on DT_HAS_INTEL_ALH_DAI_ENABLED
select DMA
help
Select this to enable Intel ALH driver.