mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[ALSA] ad1848 - Fix compilation without CONFIG_PM
Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
403d19446b
commit
9d70d91c46
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue