aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscon/syscon_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscon/syscon_generic.c')
-rw-r--r--sys/dev/syscon/syscon_generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscon/syscon_generic.c b/sys/dev/syscon/syscon_generic.c
index be3d093915cc..6f039a680644 100644
--- a/sys/dev/syscon/syscon_generic.c
+++ b/sys/dev/syscon/syscon_generic.c
@@ -194,7 +194,8 @@ syscon_generic_attach(device_t dev)
sc->simplebus_attached = true;
}
- return (bus_generic_attach(dev));
+ bus_attach_children(dev);
+ return (0);
}
static int