From bf9d6206b06afbc492e49794148e79876545bf32 Mon Sep 17 00:00:00 2001 From: Aleksandr Rybalko Date: Mon, 18 Mar 2013 23:41:19 +0000 Subject: [PATCH] Allow simplebus to attach to another simplebus. Sponsored by: The FreeBSD Foundation --- sys/dev/fdt/simplebus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c index a9ba36d9921..fec24ac57ea 100644 --- a/sys/dev/fdt/simplebus.c +++ b/sys/dev/fdt/simplebus.c @@ -129,6 +129,8 @@ static driver_t simplebus_driver = { devclass_t simplebus_devclass; DRIVER_MODULE(simplebus, fdtbus, simplebus_driver, simplebus_devclass, 0, 0); +DRIVER_MODULE(simplebus, simplebus, simplebus_driver, simplebus_devclass, 0, + 0); static int simplebus_probe(device_t dev)