[PATCH] Always define pmu_sys_suspended
Paul Mackerras
paulus at samba.org
Thu Mar 13 09:54:17 EST 2008
Guido Günther writes:
> diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
> index ebec663..296edcb 100644
> --- a/drivers/macintosh/via-pmu.c
> +++ b/drivers/macintosh/via-pmu.c
> @@ -2437,8 +2437,8 @@ void pmu_blink(int n)
> }
> #endif /* DEBUG_SLEEP */
>
> -#if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)
> int pmu_sys_suspended;
> +#if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)
I don't think this is quite right, since pmu.h currently defines
pmu_sys_suspended to be 0 if CONFIG_PM_SLEEP is not defined. Thus
with your patch we will get a syntax error in that case.
Paul.
More information about the Linuxppc-dev
mailing list