Thread (4 messages) 4 messages, 4 authors, 2012-10-23
STALE4979d

[PATCH -next] sound: ice1712 build errors

From: Randy Dunlap <hidden>
Date: 2012-10-23 17:34:22
Also in: alsa-devel, lkml

From: Randy Dunlap <redacted>

Fix build errors by using correct kconfig symbol name:

sound/pci/ice1712/psc724.c:417:5: error: 'struct snd_ice1712' has no member named 'pm_resume'
sound/pci/ice1712/psc724.c:418:5: error: 'struct snd_ice1712' has no member named 'pm_suspend_enabled'

Signed-off-by: Randy Dunlap <redacted>
Cc: Ondrej Zary <redacted>
Cc:	Jaroslav Kysela <perex@perex.cz>
Cc:	Takashi Iwai <redacted>
Cc:	alsa-devel@alsa-project.org
---
 sound/pci/ice1712/psc724.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20121023.orig/sound/pci/ice1712/psc724.c
+++ linux-next-20121023/sound/pci/ice1712/psc724.c
@@ -413,7 +413,7 @@ static int __devinit psc724_init(struct
 	snd_wm8776_init(&spec->wm8776);
 	spec->wm8766.ops.write = psc724_wm8766_write;
 	spec->wm8766.card = ice->card;
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 	ice->pm_resume = psc724_resume;
 	ice->pm_suspend_enabled = 1;
 #endif
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help