mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-10 03:50:10 +00:00
The functions related to SOF can be reused in different machine drivers, such as mt8195 or mt8186, so extract the common code to avoid duplication. Set mtk_soc_card_data which include machine private data and SOF private data as card drvdata, then the difference between machine private can be ignored such as mt8195_mt6359_priv or mt8186_mt6366_priv, at the same time the SOF related code can be reused in different machine drivers. Signed-off-by: Chunxu Li <chunxu.li@mediatek.com> Link: https://lore.kernel.org/r/20220715085903.7796-1-chunxu.li@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
7 lines
249 B
Makefile
7 lines
249 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# platform driver
|
|
snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o
|
|
obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
|
|
|
|
obj-$(CONFIG_SND_SOC_MTK_BTCVSD) += mtk-btcvsd.o
|