summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-14 21:47:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-14 21:47:01 +0000
commit14e4a83755b071429015f2b29c75a0e328b5a470 (patch)
tree22d5ebe3c5924b831043ec3e2b1215c516fdcbf6
parent6afbda16e623ff542f702a5baeb750a133a50fd7 (diff)
only compile aml_dump() if option ACPI_DEBUG.
-rw-r--r--sys/dev/acpi/dsdt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 6eb65d6cad7..63193230c81 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: dsdt.c,v 1.111 2008/05/14 21:13:40 miod Exp $ */
+/* $OpenBSD: dsdt.c,v 1.112 2008/05/14 21:47:00 miod Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -542,6 +542,7 @@ done:
* @@@: Misc utility functions
*/
+#ifdef ACPI_DEBUG
void
aml_dump(int len, u_int8_t *buf)
{
@@ -553,6 +554,7 @@ aml_dump(int len, u_int8_t *buf)
}
dnprintf(50, " }\n");
}
+#endif
/* Bit mangling code */
int