Re: [PATCH] ACPI suspend: Fix compilation warnings in drivers/acpi/sleep.c

Andrew Morton
2009-01-16T22:50:21Z

On Fri, 16 Jan 2009 23:09:14 +0100
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> Fix two compilation warnings in drivers/acpi/sleep.c, one triggered
> by unsetting CONFIG_SUSPEND and the other triggered by unsetting
> CONFIG_HIBERNATION, by moving some code under the appropriate
> #ifdefs .
>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> ---
> arch/x86/kernel/acpi/sleep.c | 4 +--
> drivers/acpi/sleep.c | 51 +++++++++++++++++++++----------------------

Confused. drivers/acpi/sleep.c was removed six years ago?