summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpiec.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-02-17 23:59:04 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-02-17 23:59:04 +0000
commit5cb17b9e44e0f5b04df3d136964b9cd4e2296206 (patch)
tree024f172edea7c154305462c5da2ee6c98e88966d /sys/dev/acpi/acpiec.c
parent41ba8ea6e88f4010ce8cae1b994e736d8392ee5b (diff)
Add SMALL_KERNEL throught acpi to make it fit on boot media.
ok deraadt
Diffstat (limited to 'sys/dev/acpi/acpiec.c')
-rw-r--r--sys/dev/acpi/acpiec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpiec.c b/sys/dev/acpi/acpiec.c
index e69129d084c..24acd86d84e 100644
--- a/sys/dev/acpi/acpiec.c
+++ b/sys/dev/acpi/acpiec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiec.c,v 1.15 2006/12/23 17:24:40 canacar Exp $ */
+/* $OpenBSD: acpiec.c,v 1.16 2007/02/17 23:59:03 marco Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
*
@@ -297,8 +297,10 @@ acpiec_attach(struct device *parent, struct device *self, void *aux)
dnprintf(10, "%s: GPE: %d\n", DEVNAME(sc), sc->sc_gpe);
+#ifndef SMALL_KERNEL
acpi_set_gpehandler(sc->sc_acpi, sc->sc_gpe, acpiec_gpehandler,
sc, "acpiec");
+#endif
printf(": %s\n", sc->sc_devnode->parent->name);
}