ASoC: Update PM ifdefs for exported suspend/resume
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -1801,7 +1801,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
|
|||||||
}
|
}
|
||||||
card->snd_card->dev = card->dev;
|
card->snd_card->dev = card->dev;
|
||||||
|
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM_SLEEP
|
||||||
/* deferred resume work */
|
/* deferred resume work */
|
||||||
INIT_WORK(&card->deferred_resume_work, soc_resume_deferred);
|
INIT_WORK(&card->deferred_resume_work, soc_resume_deferred);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user