forked from Minki/linux
[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
@ -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 New Issue
Block a user