OSDN Git Service

ASoC: max98090: Fix build warning
authorThierry Reding <treding@nvidia.com>
Mon, 7 Jul 2014 13:18:19 +0000 (15:18 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 7 Jul 2014 15:06:35 +0000 (17:06 +0200)
commit121eb444135c25701051eb849e7ccf0dd412382b
tree2117370323c84781f9e48cafd7feb41e5094f1dc
parenteba843201a8e5824c5e6e539db6cd1a6ba84f145
ASoC: max98090: Fix build warning

The max98090_{suspend,resume}() functions are used for system sleep and
therefore need to be guarded by CONFIG_PM_SLEEP rather than CONFIG_PM.

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