re/rl: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
aed8cdc8cd
commit
30c024c54a
@ -350,9 +350,7 @@ static driver_t re_driver = {
|
|||||||
sizeof(struct rl_softc)
|
sizeof(struct rl_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t re_devclass;
|
DRIVER_MODULE(re, pci, re_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0);
|
|
||||||
DRIVER_MODULE(miibus, re, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, re, miibus_driver, 0, 0);
|
||||||
|
|
||||||
#define EE_SET(x) \
|
#define EE_SET(x) \
|
||||||
|
@ -256,12 +256,10 @@ static driver_t rl_driver = {
|
|||||||
sizeof(struct rl_softc)
|
sizeof(struct rl_softc)
|
||||||
};
|
};
|
||||||
|
|
||||||
static devclass_t rl_devclass;
|
DRIVER_MODULE(rl, pci, rl_driver, 0, 0);
|
||||||
|
|
||||||
DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0);
|
|
||||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, rl, rl_devs,
|
MODULE_PNP_INFO("U16:vendor;U16:device", pci, rl, rl_devs,
|
||||||
nitems(rl_devs) - 1);
|
nitems(rl_devs) - 1);
|
||||||
DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0);
|
DRIVER_MODULE(rl, cardbus, rl_driver, 0, 0);
|
||||||
DRIVER_MODULE(miibus, rl, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, rl, miibus_driver, 0, 0);
|
||||||
|
|
||||||
#define EE_SET(x) \
|
#define EE_SET(x) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user