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 205cbd7b149fa2ab1a24005c206c247a2c31447d..10bc3c23b525166c6b6b050afef1cfec468e36d7 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