Attach RSB early. Children of RSB may provide resources necessary for
other devices such as interrupts, GPIOs, and regulators.
This commit is contained in:
parent
7dd6227263
commit
221a9d6dd6
@ -472,6 +472,8 @@ static driver_t rsb_driver = {
|
||||
|
||||
static devclass_t rsb_devclass;
|
||||
|
||||
DRIVER_MODULE(iicbus, rsb, iicbus_driver, iicbus_devclass, 0, 0);
|
||||
DRIVER_MODULE(rsb, simplebus, rsb_driver, rsb_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(iicbus, rsb, iicbus_driver, iicbus_devclass, 0, 0,
|
||||
BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(rsb, simplebus, rsb_driver, rsb_devclass, 0, 0,
|
||||
BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(rsb, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user