ASoC: rt286: Fix compilation warning for !PM
authorThierry Reding <treding@nvidia.com>
Thu, 2 Oct 2014 07:27:03 +0000 (09:27 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 2 Oct 2014 10:53:11 +0000 (11:53 +0100)
commit81f3dfe1908011ee12760ce4d75451e7446dff80
tree8ddadd31639c741c371b4c9b41f9a7096eb24526
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
ASoC: rt286: Fix compilation warning for !PM

The rt286_index_sync() function is only called in the resume path. If PM
is disabled it becomes unused and shouldn't be built either.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt286.c