ASoC: Update PM ifdefs for exported suspend/resume
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Feb 2011 10:43:26 +0000 (10:43 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Feb 2011 10:43:26 +0000 (10:43 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c

index 205cbd7..10bc3c2 100644 (file)
@@ -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