aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-03-23 02:34:54 -0400
committerLen Brown <len.brown@intel.com>2011-03-23 02:34:54 -0400
commit02e2407858fd62053bf60349c0e72cd1c7a4a60e (patch)
tree0ebdbddc97d3abbc675916010e7771065b70c137 /drivers/acpi/sleep.c
parent96e1c408ea8a556c5b51e0e7d56bd2afbfbf5fe9 (diff)
parent6447f55da90b77faec1697d499ed7986bb4f6de6 (diff)
Merge branch 'linus' into release
Conflicts: arch/x86/kernel/acpi/sleep.c Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 84f57143ad7c..6c949602cbd1 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -16,6 +16,7 @@
16#include <linux/device.h> 16#include <linux/device.h>
17#include <linux/suspend.h> 17#include <linux/suspend.h>
18#include <linux/reboot.h> 18#include <linux/reboot.h>
19#include <linux/acpi.h>
19 20
20#include <asm/io.h> 21#include <asm/io.h>
21 22
@@ -567,7 +568,7 @@ int acpi_suspend(u32 acpi_state)
567 return -EINVAL; 568 return -EINVAL;
568} 569}
569 570
570#ifdef CONFIG_PM_OPS 571#ifdef CONFIG_PM
571/** 572/**
572 * acpi_pm_device_sleep_state - return preferred power state of ACPI device 573 * acpi_pm_device_sleep_state - return preferred power state of ACPI device
573 * in the system sleep state given by %acpi_target_sleep_state 574 * in the system sleep state given by %acpi_target_sleep_state
@@ -653,7 +654,7 @@ int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p)
653 *d_min_p = d_min; 654 *d_min_p = d_min;
654 return d_max; 655 return d_max;
655} 656}
656#endif /* CONFIG_PM_OPS */ 657#endif /* CONFIG_PM */
657 658
658#ifdef CONFIG_PM_SLEEP 659#ifdef CONFIG_PM_SLEEP
659/** 660/**