aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c')
-rw-r--r--sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c b/sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c
index 2d390cd449af..50f54b896748 100644
--- a/sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c
+++ b/sys/dev/qcom_tlmm/qcom_tlmm_ipq4018.c
@@ -346,13 +346,14 @@ qcom_tlmm_ipq4018_attach(device_t dev)
fdt_pinctrl_register(dev, NULL);
fdt_pinctrl_configure_by_name(dev, "default");
- sc->busdev = gpiobus_attach_bus(dev);
+ sc->busdev = gpiobus_add_bus(dev);
if (sc->busdev == NULL) {
device_printf(dev, "%s: failed to attach bus\n", __func__);
qcom_tlmm_ipq4018_detach(dev);
return (ENXIO);
}
+ bus_attach_children(dev);
return (0);
}