diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-23 16:21:55 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-23 16:21:55 +0000 |
commit | ecb04f492b9be2bc502a476317e1bb7eead1a01e (patch) | |
tree | 855d514d3722afb3b72f4f2afa3bac0beaff2416 /sys/dev/acpi/acpibtn.c | |
parent | f25c0075c80ece366422bade164e10046df5f931 (diff) |
Remove ACPI_SLEEP_ENABLED checks.
This enables by default the suspend/resume paths in the kernel.
Okay deraadt@.
Diffstat (limited to 'sys/dev/acpi/acpibtn.c')
-rw-r--r-- | sys/dev/acpi/acpibtn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpibtn.c b/sys/dev/acpi/acpibtn.c index 9c25a575026..485b875500a 100644 --- a/sys/dev/acpi/acpibtn.c +++ b/sys/dev/acpi/acpibtn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibtn.c,v 1.21 2009/02/19 21:02:05 marco Exp $ */ +/* $OpenBSD: acpibtn.c,v 1.22 2009/11/23 16:21:54 pirofti Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -122,9 +122,9 @@ acpibtn_notify(struct aml_node *node, int notify_type, void *arg) switch (sc->sc_btn_type) { case ACPIBTN_LID: case ACPIBTN_SLEEP: -#ifdef ACPI_SLEEP_ENABLED +#ifndef SMALL_KERNEL acpi_sleep_state(sc->sc_acpi, ACPI_STATE_S3); -#endif /* ACPI_SLEEP_ENABLED */ +#endif /* SMALL_KERNEL */ break; case ACPIBTN_POWER: if (notify_type == 0x80) |