android_kernel_motorola_sm6375/include/acpi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Reported-and-tested-by: Michel Lespinasse <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Cc: 3.9+ <[email protected]>
2013-05-22 00:19:28 +02:00
..
platform
acbuffer.h
acconfig.h
acexcep.h
acnames.h
acoutput.h
acpi.h
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_numa.h
acpiosxf.h
acpixf.h
acrestyp.h
actbl.h
actbl1.h
actbl2.h
actbl3.h
actypes.h
apei.h
button.h
ghes.h
hed.h
pdc_intel.h
processor.h
reboot.h
video.h