MLK-22295-2: ASoC: fsl_easrc: Fix build warning with CONFIG_PM_SLEEP=n
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Jul 2019 05:22:28 +0000 (13:22 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Jul 2019 07:24:32 +0000 (15:24 +0800)
commit88eb63be65b86fb521e1565a85a6e65ab6d080ba
tree320cbfa90367d3529b409eb10b83ced8512d5fe2
parent2e14ee125e8a181575a98fb3f3003b9c635f5133
MLK-22295-2: ASoC: fsl_easrc: Fix build warning with CONFIG_PM_SLEEP=n

Fix build warning with CONFIG_PM_SLEEP=n, the message is

In file included from sound/soc/fsl/fsl_easrc.c:2204:0:
sound/soc/fsl/fsl_easrc_m2m.c:960:13: warning: ‘fsl_easrc_m2m_resume’ defined but not used [-Wunused-function]
 static void fsl_easrc_m2m_resume(struct fsl_easrc *easrc)
             ^~~~~~~~~~~~~~~~~~~~
sound/soc/fsl/fsl_easrc_m2m.c:927:13: warning: ‘fsl_easrc_m2m_suspend’ defined but not used [-Wunused-function]
 static void fsl_easrc_m2m_suspend(struct fsl_easrc *easrc)
             ^~~~~~~~~~~~~~~~~~~~~

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 0b6e34f8aaac3a6e5a5e1459a9fc6a42d8a8c127)
sound/soc/fsl/fsl_easrc_m2m.c