aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/common/mtk-afe-platform-driver.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-01-29 02:51:42 +0000
committerMark Brown <broonie@kernel.org>2018-02-12 11:45:38 +0000
commitf1b5bf07365d4d6599ce90f49ef96dd8833fbd90 (patch)
treecc7c674eaed8e59fe0c1e8a67bb62a34ae037c1d /sound/soc/mediatek/common/mtk-afe-platform-driver.h
parentASoC: txx9aclc: replace platform to component (diff)
downloadlinux-dev-f1b5bf07365d4d6599ce90f49ef96dd8833fbd90.tar.xz
linux-dev-f1b5bf07365d4d6599ce90f49ef96dd8833fbd90.zip
ASoC: mt2701/mt8173: replace platform to component
Now platform can be replaced to component, let's do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/common/mtk-afe-platform-driver.h')
-rw-r--r--sound/soc/mediatek/common/mtk-afe-platform-driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/mediatek/common/mtk-afe-platform-driver.h b/sound/soc/mediatek/common/mtk-afe-platform-driver.h
index a973fc9253b4..8dcdbed959ea 100644
--- a/sound/soc/mediatek/common/mtk-afe-platform-driver.h
+++ b/sound/soc/mediatek/common/mtk-afe-platform-driver.h
@@ -17,7 +17,8 @@
#ifndef _MTK_AFE_PLATFORM_DRIVER_H_
#define _MTK_AFE_PLATFORM_DRIVER_H_
-extern const struct snd_soc_platform_driver mtk_afe_pcm_platform;
+#define AFE_PCM_NAME "mtk-afe-pcm"
+extern const struct snd_soc_component_driver mtk_afe_pcm_platform;
#endif