From 88ee1c611d0ac0f771212f907bdfb33905a5dc89 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 2 Feb 2011 10:43:26 +0000 Subject: [PATCH] ASoC: Update PM ifdefs for exported suspend/resume Signed-off-by: Mark Brown --- sound/soc/soc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5