aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-02 10:43:26 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-02 10:43:26 +0000
commit88ee1c611d0ac0f771212f907bdfb33905a5dc89 (patch)
treee4a789fc24974817e17cd82bddeb3f54bf57439e
parent273de37655369e57919f19e157fafb2b4b1e4472 (diff)
downloadkernel_goldelico_gta04-88ee1c611d0ac0f771212f907bdfb33905a5dc89.zip
kernel_goldelico_gta04-88ee1c611d0ac0f771212f907bdfb33905a5dc89.tar.gz
kernel_goldelico_gta04-88ee1c611d0ac0f771212f907bdfb33905a5dc89.tar.bz2
ASoC: Update PM ifdefs for exported suspend/resume
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 205cbd7..10bc3c2 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1801,7 +1801,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
}
card->snd_card->dev = card->dev;
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
/* deferred resume work */
INIT_WORK(&card->deferred_resume_work, soc_resume_deferred);
#endif