linux/include/acpi
Rafael J. Wysocki ec4602a958 ACPI / PM: Allow device power states to be used for CONFIG_PM unset
Currently, drivers/acpi/device_pm.c depends on CONFIG_PM and all of
the functions defined in there are replaced with static inline stubs
if that option is unset.  However, CONFIG_PM means, roughly, "runtime
PM or suspend/hibernation support" and some of those functions are
useful regardless of that.  For example, they are used by the ACPI
fan driver for controlling fans and acpi_device_set_power() is called
during device removal.  Moreover, device initialization may depend on
setting device power states properly.

For these reasons, make the routines manipulating ACPI device power
states defined in drivers/acpi/device_pm.c available for CONFIG_PM
unset too.

Reported-by: Zhang Rui <rui.zhang@intel.com>
Reported-and-tested-by: Michel Lespinasse <walken@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: 3.9+ <stable@vger.kernel.org>
2013-05-22 00:19:28 +02:00
..
platform
acbuffer.h
acconfig.h
acexcep.h ACPICA: Add exception descriptions to exception info table 2013-03-12 00:45:05 +01:00
acnames.h
acoutput.h ACPICA: Regression fix: reinstate safe exit macros 2013-03-12 00:45:04 +01:00
acpi_bus.h ACPI / PM: Allow device power states to be used for CONFIG_PM unset 2013-05-22 00:19:28 +02:00
acpi_drivers.h ACPI: Remove acpi_pci_bind_root() definition 2013-03-24 23:28:02 +01:00
acpi_numa.h
acpi.h
acpiosxf.h ACPI: Fix section to __init. Align with usage in acpixf.h 2013-05-12 14:03:14 +02:00
acpixf.h ACPICA: Update version to 20130328 2013-04-12 13:29:48 +02:00
acrestyp.h
actbl1.h
actbl2.h ACPICA: iASL/Disassembler: Add support for MTMR table 2013-03-12 00:45:04 +01:00
actbl3.h ACPICA: Remove trailing comma in enum declarations 2013-03-12 00:45:05 +01:00
actbl.h
actypes.h Merge branch 'acpi-assorted' 2013-04-28 01:54:08 +02:00
apei.h
button.h
ghes.h
hed.h
pdc_intel.h
processor.h ACPI / PM: Move processor suspend/resume to syscore_ops 2013-05-12 14:03:14 +02:00
reboot.h
video.h