ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Aug 2019 14:37:47 +0000 (22:37 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 22 Aug 2019 17:29:01 +0000 (18:29 +0100)
commit97aad5ce88164bc5f884b5234f015ac553ea2fe5
treecf4bcad45190184738d566bb6beac88a277cddd0
parentc101fb29737f4558bf589d0d66371d9e21040568
ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings

sound/soc/mediatek/mt2701/mt2701-afe-common.h:66:27: warning:
 mt2701_afe_backup_list defined but not used [-Wunused-const-variable=]

mt2701_afe_backup_list is only used in mt2701-afe-pcm.c,
so just move the definition over there.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190822143747.20944-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt2701/mt2701-afe-common.h
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c