arm64 intel: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-09 14:26:45 -07:00
parent d99a98d54f
commit 3d2549ce8a
3 changed files with 5 additions and 12 deletions

View File

@ -115,8 +115,6 @@ static device_method_t firmware_methods[] = {
DEFINE_CLASS_1(firmware, firmware_driver, firmware_methods,
sizeof(struct firmware_softc), simplebus_driver);
static devclass_t firmware_devclass;
EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, firmware_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(firmware, simplebus, firmware_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
MODULE_VERSION(firmware, 1);

View File

@ -284,7 +284,4 @@ static driver_t fpgamgr_s10_driver = {
sizeof(struct fpgamgr_s10_softc),
};
static devclass_t fpgamgr_s10_devclass;
DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver,
fpgamgr_s10_devclass, 0, 0);
DRIVER_MODULE(fpgamgr_s10, simplebus, fpgamgr_s10_driver, 0, 0);

View File

@ -265,7 +265,5 @@ static driver_t s10_svc_driver = {
sizeof(struct s10_svc_softc),
};
static devclass_t s10_svc_devclass;
EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver,
s10_svc_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(s10_svc, firmware, s10_svc_driver, 0, 0,
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);