diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-05 21:22:22 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-05 21:22:22 +0000 |
commit | b2cc79c6a1e76f0de98c89dedc848cc6154d18d1 (patch) | |
tree | 19aa2c6f8b15e05b30803033ba195c9bfcbc96b9 /sys/dev/acpi/acpi.c | |
parent | 3721b52c72f33552deb4f42fff4a5a4f9195014c (diff) |
Provide symbolic names for the acpi sleeping states and use it.
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r-- | sys/dev/acpi/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 3647fe1a9b1..056a16028a1 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.13 2005/12/28 03:09:21 marco Exp $ */ +/* $OpenBSD: acpi.c,v 1.14 2006/01/05 21:22:21 grange Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -810,7 +810,7 @@ acpi_enter_sleep_state(struct acpi_softc *sc, int state) void acpi_powerdown(void) { - acpi_enter_sleep_state(acpi_softc, 5); + acpi_enter_sleep_state(acpi_softc, ACPI_STATE_S5); } int |