[patch] acpi, pm: fix build breakage

2012-11-08 Thread David Rientjes
Commit b87b49cd0efd ("ACPI / PM: Move device PM functions related to sleep states") declared acpi_target_system_state() for CONFIG_PM_SLEEP whereas it is only defined for CONFIG_ACPI_SLEEP, resulting in the following link error: drivers/built-in.o: In function `acpi_pm_device_sleep_wake': drive

Re: [patch] acpi, pm: fix build breakage

2012-11-08 Thread Rafael J. Wysocki
On Thursday, November 08, 2012 11:20:01 AM David Rientjes wrote: > Commit b87b49cd0efd ("ACPI / PM: Move device PM functions related to sleep > states") declared acpi_target_system_state() for CONFIG_PM_SLEEP whereas > it is only defined for CONFIG_ACPI_SLEEP, resulting in the following link > e