From: Mark Brown Date: Wed, 2 Feb 2011 10:43:26 +0000 (+0000) Subject: ASoC: Update PM ifdefs for exported suspend/resume X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88ee1c611d0ac0f771212f907bdfb33905a5dc89;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ASoC: Update PM ifdefs for exported suspend/resume Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 205cbd7b149f..10bc3c23b525 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