arm64 coresight: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-09 14:26:45 -07:00
parent bb62bc2284
commit 589aa3d595
9 changed files with 16 additions and 36 deletions

View File

@ -157,8 +157,6 @@ static driver_t debug_driver = {
sizeof(struct debug_softc),
};
static devclass_t debug_devclass;
EARLY_DRIVER_MODULE(debug, simplebus, debug_driver, debug_devclass,
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
EARLY_DRIVER_MODULE(debug, simplebus, debug_driver, 0, 0,
BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
MODULE_VERSION(debug, 1);

View File

@ -86,7 +86,5 @@ static device_method_t etm_acpi_methods[] = {
DEFINE_CLASS_1(etm, etm_acpi_driver, etm_acpi_methods,
sizeof(struct etm_softc), etm_driver);
static devclass_t etm_acpi_devclass;
EARLY_DRIVER_MODULE(etm, acpi, etm_acpi_driver, etm_acpi_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(etm, acpi, etm_acpi_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -88,7 +88,5 @@ static device_method_t etm_fdt_methods[] = {
DEFINE_CLASS_1(etm, etm_fdt_driver, etm_fdt_methods,
sizeof(struct etm_softc), etm_driver);
static devclass_t etm_fdt_devclass;
EARLY_DRIVER_MODULE(etm, simplebus, etm_fdt_driver, etm_fdt_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(etm, simplebus, etm_fdt_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -102,7 +102,5 @@ static device_method_t funnel_acpi_methods[] = {
DEFINE_CLASS_1(funnel, funnel_acpi_driver, funnel_acpi_methods,
sizeof(struct funnel_softc), funnel_driver);
static devclass_t funnel_acpi_devclass;
EARLY_DRIVER_MODULE(funnel, acpi, funnel_acpi_driver, funnel_acpi_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(funnel, acpi, funnel_acpi_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -100,7 +100,5 @@ static device_method_t funnel_fdt_methods[] = {
DEFINE_CLASS_1(funnel, funnel_fdt_driver, funnel_fdt_methods,
sizeof(struct funnel_softc), funnel_driver);
static devclass_t funnel_fdt_devclass;
EARLY_DRIVER_MODULE(funnel, simplebus, funnel_fdt_driver, funnel_fdt_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(funnel, simplebus, funnel_fdt_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -87,8 +87,5 @@ static device_method_t replicator_acpi_methods[] = {
DEFINE_CLASS_1(replicator, replicator_acpi_driver, replicator_acpi_methods,
sizeof(struct replicator_softc), replicator_driver);
static devclass_t replicator_acpi_devclass;
EARLY_DRIVER_MODULE(replicator, acpi, replicator_acpi_driver,
replicator_acpi_devclass, 0, 0,
EARLY_DRIVER_MODULE(replicator, acpi, replicator_acpi_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -88,8 +88,5 @@ static device_method_t replicator_fdt_methods[] = {
DEFINE_CLASS_1(replicator, replicator_fdt_driver, replicator_fdt_methods,
sizeof(struct replicator_softc), replicator_driver);
static devclass_t replicator_fdt_devclass;
EARLY_DRIVER_MODULE(replicator, simplebus, replicator_fdt_driver,
replicator_fdt_devclass, 0, 0,
EARLY_DRIVER_MODULE(replicator, simplebus, replicator_fdt_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -86,7 +86,5 @@ static device_method_t tmc_acpi_methods[] = {
DEFINE_CLASS_1(tmc, tmc_acpi_driver, tmc_acpi_methods,
sizeof(struct tmc_softc), tmc_driver);
static devclass_t tmc_acpi_devclass;
EARLY_DRIVER_MODULE(tmc, acpi, tmc_acpi_driver, tmc_acpi_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(tmc, acpi, tmc_acpi_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);

View File

@ -88,7 +88,5 @@ static device_method_t tmc_fdt_methods[] = {
DEFINE_CLASS_1(tmc, tmc_fdt_driver, tmc_fdt_methods,
sizeof(struct tmc_softc), tmc_driver);
static devclass_t tmc_fdt_devclass;
EARLY_DRIVER_MODULE(tmc, simplebus, tmc_fdt_driver, tmc_fdt_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
EARLY_DRIVER_MODULE(tmc, simplebus, tmc_fdt_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);