summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpiasus.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-06-01 17:59:56 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-06-01 17:59:56 +0000
commitcbc33fb1757f353b753efe6c3cccbfaafd77470f (patch)
treeaeb2d3bad30ad0996583a2bc82639b90c65fa644 /sys/dev/acpi/acpiasus.c
parent5ffc77f9703592edda7da769bf3bf4d8797c5351 (diff)
Re-enable new parser. Lots of testing by various folks. Fits all media
now too. ok kettenis deraadt
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 33b1d4a21bb..3f5d6962ca6 100644
--- a/sys/dev/acpi/acpiasus.c
+++ b/sys/dev/acpi/acpiasus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiasus.c,v 1.3 2008/05/16 06:50:55 dlg Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.4 2008/06/01 17:59:55 marco 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);
}