aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/clk/clk_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/clk/clk_bus.c')
-rw-r--r--sys/dev/clk/clk_bus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/clk/clk_bus.c b/sys/dev/clk/clk_bus.c
index 622ff1fbf01d..2eb25fff6542 100644
--- a/sys/dev/clk/clk_bus.c
+++ b/sys/dev/clk/clk_bus.c
@@ -69,7 +69,8 @@ ofw_clkbus_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_clkbus_methods[] = {