Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757256Ab2JWSdx (ORCPT ); Tue, 23 Oct 2012 14:33:53 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42360 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756708Ab2JWSdw (ORCPT ); Tue, 23 Oct 2012 14:33:52 -0400 Date: Tue, 23 Oct 2012 20:33:49 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Zary , Jaroslav Kysela , alsa-devel@alsa-project.org Subject: Re: [PATCH -next] sound: ice1712 build errors In-Reply-To: <5086D518.7050606@xenotime.net> References: <20121023151951.d5573eb8990a372754f29bf3@canb.auug.org.au> <5086D518.7050606@xenotime.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1458 Lines: 43 At Tue, 23 Oct 2012 10:34:16 -0700, Randy Dunlap wrote: > > 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 Thanks, I applied with one more replacement of #ifdef CONFIG_PM with CONFIG_PM_SLEEP in the same file. Takashi > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/