diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-01-14 23:25:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-14 23:25:21 -0800 |
commit | 5f662298476a15871560729a1adbab8894580015 (patch) | |
tree | 351678a7791e997ff70292ac0449bd2914a5fd42 /drivers | |
parent | 0ba6102fd8f917c7ea3a8c330642826a9aa40b34 (diff) | |
download | history-5f662298476a15871560729a1adbab8894580015.tar.gz |
[PATCH] swsusp/dm: Use right levels for device_suspend()
This almost changes no code (constant is still "3"), but at least it uses
right constants for device_suspend() and fixes types at few points. Also
puts explanation of constants to the Documentation.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/sleep/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c index 4cd42eadb7db72..0a5d2a94131e85 100644 --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c @@ -159,7 +159,7 @@ static int acpi_pm_finish(suspend_state_t pm_state) int acpi_suspend(u32 acpi_state) { - u32 states[] = { + suspend_state_t states[] = { [1] = PM_SUSPEND_STANDBY, [3] = PM_SUSPEND_MEM, [4] = PM_SUSPEND_DISK, |