fdt simple drivers: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
b440e459a7
commit
0a73fdb903
@ -320,8 +320,6 @@ static device_method_t simple_mfd_methods[] = {
|
||||
DEFINE_CLASS_1(simple_mfd, simple_mfd_driver, simple_mfd_methods,
|
||||
sizeof(struct simple_mfd_softc), simplebus_driver);
|
||||
|
||||
static devclass_t simple_mfd_devclass;
|
||||
|
||||
EARLY_DRIVER_MODULE(simple_mfd, simplebus, simple_mfd_driver,
|
||||
simple_mfd_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
|
||||
EARLY_DRIVER_MODULE(simple_mfd, simplebus, simple_mfd_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
|
||||
MODULE_VERSION(simple_mfd, 1);
|
||||
|
@ -109,11 +109,9 @@ static device_method_t simplebus_methods[] = {
|
||||
DEFINE_CLASS_0(simplebus, simplebus_driver, simplebus_methods,
|
||||
sizeof(struct simplebus_softc));
|
||||
|
||||
static devclass_t simplebus_devclass;
|
||||
EARLY_DRIVER_MODULE(simplebus, ofwbus, simplebus_driver, simplebus_devclass,
|
||||
0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(simplebus, simplebus, simplebus_driver, simplebus_devclass,
|
||||
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
EARLY_DRIVER_MODULE(simplebus, ofwbus, simplebus_driver, 0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(simplebus, simplebus, simplebus_driver, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
|
||||
static int
|
||||
simplebus_probe(device_t dev)
|
||||
|
Loading…
Reference in New Issue
Block a user