mirror of https://gitee.com/openkylin/linux.git
ASoC: Update PM ifdefs for exported suspend/resume
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
273de37655
commit
88ee1c611d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue