commit | 9d70d91c4663d580bd18317dac3c7dc3bee79480 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Nov 30 10:12:26 2005 +0100 |
committer | Jaroslav Kysela <perex@suse.cz> | Tue Jan 03 12:29:59 2006 +0100 |
tree | 3360f1b030f71385c82f28c01471b1e3131d1bc0 | |
parent | 403d19446bd0cabee70110415d2f3bc466f46448 [diff] [blame] |
[ALSA] ad1848 - Fix compilation without CONFIG_PM Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index 83764c9..b78530d 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c
@@ -932,8 +932,10 @@ return err; } +#ifdef CONFIG_PM chip->suspend = snd_ad1848_suspend; chip->resume = snd_ad1848_resume; +#endif *rchip = chip; return 0;