]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a010215031e7ec086e60175d05c5d115ed8d271
treecf4bcad45190184738d566bb6beac88a277cddd0
parent49150b0b1a516525a3428015e2cdf119d0655dc4
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