From 9419d34969783fba76ea652e2eb62373ce93ac6f Mon Sep 17 00:00:00 2001 From: Jordan Hargrave Date: Thu, 19 Oct 2006 01:19:16 +0000 Subject: Fixed acpitz match function ok marco@ --- sys/dev/acpi/acpitz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpi/acpitz.c') 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 * Copyright (c) 2005 Marco Peereboom @@ -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); -- cgit v1.2.3