summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dwiic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi/dwiic.c')
-rw-r--r--sys/dev/acpi/dwiic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/dwiic.c b/sys/dev/acpi/dwiic.c
index 60bf8d17a22..189408e2217 100644
--- a/sys/dev/acpi/dwiic.c
+++ b/sys/dev/acpi/dwiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwiic.c,v 1.22 2016/10/25 06:48:58 pirofti Exp $ */
+/* $OpenBSD: dwiic.c,v 1.23 2017/08/17 05:16:27 stsp Exp $ */
/*
* Synopsys DesignWare I2C controller
*
@@ -572,6 +572,8 @@ dwiic_acpi_found_hid(struct aml_node *node, void *arg)
aml_parse_resource(&res, dwiic_acpi_parse_crs, &crs);
aml_freevalue(&res);
+ acpi_attach_deps(acpi_softc, node->parent);
+
if (dwiic_matchhids(cdev, ihidev_hids))
return dwiic_acpi_found_ihidev(sc, node, dev, crs);
else if (dwiic_matchhids(dev, iatp_hids))