From 14e4a83755b071429015f2b29c75a0e328b5a470 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 14 May 2008 21:47:01 +0000 Subject: only compile aml_dump() if option ACPI_DEBUG. --- sys/dev/acpi/dsdt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 * @@ -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 -- cgit v1.2.3