summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-04-14 03:30:09 +0000
committernjl <njl@FreeBSD.org>2004-04-14 03:30:09 +0000
commit9e1427e0cf685d56db9fa50acd78eec7aade411b (patch)
tree044045e68c4816d0f0998849326d3d09dec35311
parentcd0c9b1f7e5aa54251768cbf8e6f6e56358dba5e (diff)
downloadFreeBSD-src-9e1427e0cf685d56db9fa50acd78eec7aade411b.zip
FreeBSD-src-9e1427e0cf685d56db9fa50acd78eec7aade411b.tar.gz
Use TRUE for a boolean and a style nit.
-rw-r--r--sys/dev/acpica/acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 83b76a9..8846f82 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -145,7 +145,6 @@ static int acpi_child_location_str_method(device_t acdev, device_t child,
static int acpi_child_pnpinfo_str_method(device_t acdev, device_t child,
char *buf, size_t buflen);
-
static device_method_t acpi_methods[] = {
/* Device interface */
DEVMETHOD(device_identify, acpi_identify),
@@ -212,7 +211,7 @@ TUNABLE_INT("hw.acpi.serialize_methods", &acpi_serialize_methods);
* causes problems. See the definition of "AcpiGbl_ValidOsiStrings" for
* a list of systems we claim.
*/
-static int acpi_osi_method = 1;
+static int acpi_osi_method = TRUE;
TUNABLE_INT("hw.acpi.osi_method", &acpi_osi_method);
/*
OpenPOWER on IntegriCloud