[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5086D518.7050606@xenotime.net>
Date: Tue, 23 Oct 2012 10:34:16 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Ondrej Zary <linux@...nbow-software.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
alsa-devel@...a-project.org
Subject: [PATCH -next] sound: ice1712 build errors
From: Randy Dunlap <rdunlap@...otime.net>
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 <rdunlap@...otime.net>
Cc: Ondrej Zary <linux@...nbow-software.org>
Cc: Jaroslav Kysela <perex@...ex.cz>
Cc: Takashi Iwai <tiwai@...e.de>
Cc: alsa-devel@...a-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists