Subject: Re: [PATCH -next] sound: ice1712 build errors

From: Ondrej Zary <[email-masked]>
Date: Tue, 23 Oct 2012 20:01:54 +0200

On Tuesday 23 October 2012 19:34:16 Randy Dunlap wrote:
> From: Randy Dunlap <[email-masked]>
>
> 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'

Thanks, I tried to test with CONFIG_PM disabled but was unable to disable it. 
Probably because of some CONFIG_PM and CONFIG_PM_SLEEP changes I missed...

> Signed-off-by: Randy Dunlap <[email-masked]>
> Cc: Ondrej Zary <[email-masked]>
> Cc:	Jaroslav Kysela <[email-masked]>
> Cc:	Takashi Iwai <[email-masked]>
> Cc:	[email-masked]
> ---
>  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

-- 
Ondrej Zary