diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-01-20 00:19:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-01-20 00:19:51 +0000 |
commit | 4b153919c2d9078aa2a10dc52792ac532c66d889 (patch) | |
tree | fd28fee86b636b43350c7750204b8b4448b1fb10 /sys/dev/acpi | |
parent | 5e6b59f1278e1f507fc5c5f5b52c6f50d08fbc71 (diff) |
fix SMALL_KERNEL build after changes in rev 1.361
reported by naddy@ ok deraadt@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 7b80f800239..5835399f682 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.361 2019/01/19 20:45:06 tedu Exp $ */ +/* $OpenBSD: acpi.c,v 1.362 2019/01/20 00:19:50 jsg Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -1973,9 +1973,11 @@ acpi_pbtn_task(void *arg0, int dummy) case 1: acpi_addtask(sc, acpi_powerdown_task, sc, 0); break; +#ifndef SMALL_KERNEL case 2: acpi_addtask(sc, acpi_sleep_task, sc, ACPI_SLEEP_SUSPEND); break; +#endif } } |