[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:
Takashi Iwai 2005-11-30 10:12:26 +01:00 committed by Jaroslav Kysela
parent 403d19446b
commit 9d70d91c46

View File

@ -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;