OpenCloudOS-Kernel/sound/soc/mediatek/common
Arnd Bergmann 39f56b757c
ASoC: mediatek: export mtk-afe symbols as needed
The new mt6797-afe driver uses some functions in a common file, which
works for a built-in driver but fails for a loadable module:

ERROR: "mtk_afe_pcm_free" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
ERROR: "mtk_afe_add_sub_dai_control" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
ERROR: "mtk_afe_pcm_new" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
ERROR: "mtk_afe_combine_sub_dai" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
ERROR: "mtk_afe_pcm_ops" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!

This exports the five symbols above for modules.

Fixes: b3c702f56b ("ASoC: mt6797: combine DAI to register component")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-05-31 11:24:48 +01:00
..
Makefile ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mtk-afe-fe-dai.c ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mtk-afe-fe-dai.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mtk-afe-platform-driver.c ASoC: mediatek: export mtk-afe symbols as needed 2018-05-31 11:24:48 +01:00
mtk-afe-platform-driver.h ASoC: mt6797: combine DAI to register component 2018-05-25 18:34:48 +01:00
mtk-base-afe.h ASoC: mediatek: add sub dai to mtk_base_afe 2018-05-25 18:34:46 +01:00