aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw/ofw_firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ofw/ofw_firmware.c')
-rw-r--r--sys/dev/ofw/ofw_firmware.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_firmware.c b/sys/dev/ofw/ofw_firmware.c
index 8723965f74be..360f7ee56e8a 100644
--- a/sys/dev/ofw/ofw_firmware.c
+++ b/sys/dev/ofw/ofw_firmware.c
@@ -150,7 +150,8 @@ ofw_firmware_attach(device_t dev)
device_probe_and_attach(cdev);
}
- return (bus_generic_attach(dev));
+ bus_attach_children(dev);
+ return (0);
}
static device_method_t ofw_firmware_methods[] = {