diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-31 00:00:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-31 12:24:48 +0200 |
commit | 39f56b757cf9778572041f497f6fad890224c9fb (patch) | |
tree | 47e4402a66ce7ed4fdaefeca95e8d96d272ed301 /sound/soc/mediatek/mt6797/mt6797-afe-common.h | |
parent | ASoC: codecs: PCM1789: include gpio/consumer.h (diff) | |
download | linux-39f56b757cf9778572041f497f6fad890224c9fb.tar.xz linux-39f56b757cf9778572041f497f6fad890224c9fb.zip |
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: b3c702f56bf5 ("ASoC: mt6797: combine DAI to register component")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt6797/mt6797-afe-common.h')
0 files changed, 0 insertions, 0 deletions