diff options
Diffstat (limited to 'sys/dev/regulator/regulator_bus.c')
-rw-r--r-- | sys/dev/regulator/regulator_bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/regulator/regulator_bus.c b/sys/dev/regulator/regulator_bus.c index 99081c792b90..15b6d71f0c46 100644 --- a/sys/dev/regulator/regulator_bus.c +++ b/sys/dev/regulator/regulator_bus.c @@ -64,7 +64,8 @@ ofw_regulator_bus_attach(device_t dev) simplebus_add_device(dev, child, 0, NULL, -1, NULL); } - return (bus_generic_attach(dev)); + bus_attach_children(dev); + return (0); } static device_method_t ofw_regulator_bus_methods[] = { |