aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-30 04:12:26 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:29:59 -0500
commit9d70d91c4663d580bd18317dac3c7dc3bee79480 (patch)
tree3360f1b030f71385c82f28c01471b1e3131d1bc0 /sound
parent403d19446bd0cabee70110415d2f3bc466f46448 (diff)
[ALSA] ad1848 - Fix compilation without CONFIG_PM
Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/ad1848/ad1848_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c
index 83764c941533..b78530d7ea90 100644
--- a/sound/isa/ad1848/ad1848_lib.c
+++ b/sound/isa/ad1848/ad1848_lib.c
@@ -932,8 +932,10 @@ int snd_ad1848_create(struct snd_card *card,
932 return err; 932 return err;
933 } 933 }
934 934
935#ifdef CONFIG_PM
935 chip->suspend = snd_ad1848_suspend; 936 chip->suspend = snd_ad1848_suspend;
936 chip->resume = snd_ad1848_resume; 937 chip->resume = snd_ad1848_resume;
938#endif
937 939
938 *rchip = chip; 940 *rchip = chip;
939 return 0; 941 return 0;