Make gpiobus early driver at BUS_PAS_BUS.
The gpiobus driver is attached explicitly and generally should be at the same pass as its parent. Making it use BUS_PAS_BUS ensures that it attaches immediately after parent adds it (assuming the parent itself attached at BUS_PAS_BUS and above). Submitted by: kan Sponsored by: DARPA, AFRL
This commit is contained in:
parent
3997df0cde
commit
8e621af540
@ -855,5 +855,6 @@ driver_t gpiobus_driver = {
|
||||
|
||||
devclass_t gpiobus_devclass;
|
||||
|
||||
DRIVER_MODULE(gpiobus, gpio, gpiobus_driver, gpiobus_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(gpiobus, gpio, gpiobus_driver, gpiobus_devclass, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(gpiobus, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user