projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
403d194
)
[ALSA] ad1848 - Fix compilation without CONFIG_PM
author
Takashi Iwai
<tiwai@suse.de>
Wed, 30 Nov 2005 09:12:26 +0000
(10:12 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Tue, 3 Jan 2006 11:29:59 +0000
(12:29 +0100)
Modules: AD1848 driver
Fix compilation without CONFIG_PM.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/ad1848/ad1848_lib.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/ad1848/ad1848_lib.c
b/sound/isa/ad1848/ad1848_lib.c
index 83764c94153329cbeff04fc136b248d9a8f5f689..b78530d7ea90c984309908a5c36b8fd36e6178ed 100644
(file)
--- 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,
return err;
}
+#ifdef CONFIG_PM
chip->suspend = snd_ad1848_suspend;
chip->resume = snd_ad1848_resume;
+#endif
*rchip = chip;
return 0;