From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] sound: ice1712 build errors Date: Tue, 23 Oct 2012 10:34:16 -0700 Message-ID: <5086D518.7050606@xenotime.net> References: <20121023151951.d5573eb8990a372754f29bf3@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:53155 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754731Ab2JWReU (ORCPT ); Tue, 23 Oct 2012 13:34:20 -0400 In-Reply-To: <20121023151951.d5573eb8990a372754f29bf3@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Zary , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org From: Randy Dunlap 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 Cc: Ondrej Zary Cc: Jaroslav Kysela Cc: Takashi Iwai 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