diff options
author | Rafael J. Wysocki | 2012-11-15 13:15:37 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2012-11-15 13:15:37 +0100 |
commit | 5133375bb46a0d6c3fba07097caed7aa5e629ccd (patch) | |
tree | 02974dd496c828a92190b895a4d6d8cdd8bd3098 /drivers/acpi/bus.c | |
parent | ACPI / PM: Fix build problem related to acpi_target_system_state() (diff) | |
download | kernel-qcow2-linux-5133375bb46a0d6c3fba07097caed7aa5e629ccd.tar.gz kernel-qcow2-linux-5133375bb46a0d6c3fba07097caed7aa5e629ccd.tar.xz kernel-qcow2-linux-5133375bb46a0d6c3fba07097caed7aa5e629ccd.zip |
ACPI / PM: Fix build problem when CONFIG_ACPI or CONFIG_PM is not set
Commit e5cc8ef (ACPI / PM: Provide ACPI PM callback routines for
subsystems) introduced a build problem occuring if CONFIG_ACPI is
unset or CONFIG_PM is unset and errno.h is not included before
acpi.h, because in that case ENODEV used in acpi.h is undefined.
Fix the issue by making acpi.h include errno.h.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions