]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72d2ca61ea67ebcfa5393a84481d90869f7de4eb
tree8ddadd31639c741c371b4c9b41f9a7096eb24526
parentca09702717581356bb91e5bbfbb244eda384a004
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