MLK-22295-1: ASoC: fsl_asrc: fix build warning with CONFIG_PM_SLEEP=n
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Jul 2019 05:18:01 +0000 (13:18 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Jul 2019 07:24:31 +0000 (15:24 +0800)
commit2e14ee125e8a181575a98fb3f3003b9c635f5133
treefd5c858d7048aae58e812e0a0c46a901d1332e04
parent692e9417a713121441afcfccad359cf35fb3bd78
MLK-22295-1: ASoC: fsl_asrc: fix build warning with CONFIG_PM_SLEEP=n

fix build warning with CONFIG_PM_SLEEP=n, the warning message is

In file included from sound/soc/fsl/fsl_asrc.c:968:0:
sound/soc/fsl/fsl_asrc_m2m.c:1021:13: warning: ‘fsl_asrc_m2m_resume’ defined but not used [-Wunused-function]
 static void fsl_asrc_m2m_resume(struct fsl_asrc *asrc_priv)
             ^~~~~~~~~~~~~~~~~~~
sound/soc/fsl/fsl_asrc_m2m.c:990:13: warning: ‘fsl_asrc_m2m_suspend’ defined but not used [-Wunused-function]
 static void fsl_asrc_m2m_suspend(struct fsl_asrc *asrc_priv)
             ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
(cherry picked from commit a3ec5433cfd6fd2b90113a78d5045e04f6a8328c)
sound/soc/fsl/fsl_asrc_m2m.c