summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpiasus.c
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2008-05-14 05:24:37 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2008-05-14 05:24:37 +0000
commit061ad1998a863108b170a10410e852ef37275c3f (patch)
tree373ed0c825558c04877e8e044db3ae72a747d432 /sys/dev/acpi/acpiasus.c
parent2aa4a915950bec32c6d8ff1cafcb4826c36baf51 (diff)
Adding new ACPI Parser code
Old guts of code still exists, needs to be torn out next ok marco@ ok brad@
Diffstat (limited to 'sys/dev/acpi/acpiasus.c')
-rw-r--r--sys/dev/acpi/acpiasus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpiasus.c b/sys/dev/acpi/acpiasus.c
index 78e23f2bc02..2d1a83d1c03 100644
--- a/sys/dev/acpi/acpiasus.c
+++ b/sys/dev/acpi/acpiasus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiasus.c,v 1.1 2008/04/24 13:57:49 jsing Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.2 2008/05/14 05:24:36 jordan Exp $ */
/* $NetBSD: asus_acpi.c,v 1.2.2.2 2008/04/03 12:42:37 mjf Exp $ */
/*-
@@ -115,7 +115,7 @@ acpiasus_attach(struct device *parent, struct device *self, void *aux)
struct acpi_attach_args *aa = aux;
sc->sc_acpi = (struct acpi_softc *)parent;
- sc->sc_devnode = aa->aaa_node->child;
+ sc->sc_devnode = aa->aaa_node;
sc->sc_powerhook = powerhook_establish(acpiasus_power, sc);
@@ -123,7 +123,7 @@ acpiasus_attach(struct device *parent, struct device *self, void *aux)
acpiasus_init(self);
- aml_register_notify(sc->sc_devnode->parent, aa->aaa_dev,
+ aml_register_notify(sc->sc_devnode, aa->aaa_dev,
acpiasus_notify, sc, ACPIDEV_NOPOLL);
}