diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-10-19 01:19:16 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2006-10-19 01:19:16 +0000 |
commit | 9419d34969783fba76ea652e2eb62373ce93ac6f (patch) | |
tree | c7245fb68fb160b339c02b28ead0b1149c24ce30 /sys | |
parent | a4206537b98116a51527f06ef4e7a33a69929287 (diff) |
Fixed acpitz match function
ok marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpitz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 95ed954ad80..4903e734c97 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.3 2006/10/12 16:38:21 jordan Exp $ */ +/* $OpenBSD: acpitz.c,v 1.4 2006/10/19 01:19:15 jordan Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -79,7 +79,7 @@ acpitz_match(struct device *parent, void *match, void *aux) aa->aaa_table != NULL) return (0); - if (aa->aaa_node->opcode != AMLOP_THERMALZONE) + if (aa->aaa_node->value->type != AML_OBJTYPE_THERMZONE) return (0); return (1); |