提交 9d70d91c 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] ad1848 - Fix compilation without CONFIG_PM

Modules: AD1848 driver

Fix compilation without CONFIG_PM.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 403d1944
......@@ -932,8 +932,10 @@ int snd_ad1848_create(struct snd_card *card,
return err;
}
#ifdef CONFIG_PM
chip->suspend = snd_ad1848_suspend;
chip->resume = snd_ad1848_resume;
#endif
*rchip = chip;
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册