arm64: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
680ccae390
commit
bb62bc2284
@ -77,10 +77,8 @@ static device_method_t gic_v3_acpi_methods[] = {
|
|||||||
DEFINE_CLASS_1(gic, gic_v3_acpi_driver, gic_v3_acpi_methods,
|
DEFINE_CLASS_1(gic, gic_v3_acpi_driver, gic_v3_acpi_methods,
|
||||||
sizeof(struct gic_v3_softc), gic_v3_driver);
|
sizeof(struct gic_v3_softc), gic_v3_driver);
|
||||||
|
|
||||||
static devclass_t gic_v3_acpi_devclass;
|
EARLY_DRIVER_MODULE(gic_v3, acpi, gic_v3_acpi_driver, 0, 0,
|
||||||
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(gic_v3, acpi, gic_v3_acpi_driver, gic_v3_acpi_devclass,
|
|
||||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
|
||||||
|
|
||||||
struct madt_table_data {
|
struct madt_table_data {
|
||||||
device_t parent;
|
device_t parent;
|
||||||
|
@ -84,12 +84,10 @@ static device_method_t gic_v3_fdt_methods[] = {
|
|||||||
DEFINE_CLASS_1(gic, gic_v3_fdt_driver, gic_v3_fdt_methods,
|
DEFINE_CLASS_1(gic, gic_v3_fdt_driver, gic_v3_fdt_methods,
|
||||||
sizeof(struct gic_v3_softc), gic_v3_driver);
|
sizeof(struct gic_v3_softc), gic_v3_driver);
|
||||||
|
|
||||||
static devclass_t gic_v3_fdt_devclass;
|
EARLY_DRIVER_MODULE(gic_v3, simplebus, gic_v3_fdt_driver, 0, 0,
|
||||||
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(gic_v3, simplebus, gic_v3_fdt_driver, gic_v3_fdt_devclass,
|
EARLY_DRIVER_MODULE(gic_v3, ofwbus, gic_v3_fdt_driver, 0, 0,
|
||||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(gic_v3, ofwbus, gic_v3_fdt_driver, gic_v3_fdt_devclass,
|
|
||||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Helper functions declarations.
|
* Helper functions declarations.
|
||||||
|
@ -1937,10 +1937,9 @@ static device_method_t gicv3_its_fdt_methods[] = {
|
|||||||
DEFINE_CLASS_1(its, gicv3_its_fdt_driver, gicv3_its_fdt_methods,
|
DEFINE_CLASS_1(its, gicv3_its_fdt_driver, gicv3_its_fdt_methods,
|
||||||
sizeof(struct gicv3_its_softc), gicv3_its_driver);
|
sizeof(struct gicv3_its_softc), gicv3_its_driver);
|
||||||
#undef its_baseclasses
|
#undef its_baseclasses
|
||||||
static devclass_t gicv3_its_fdt_devclass;
|
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(its_fdt, gic, gicv3_its_fdt_driver,
|
EARLY_DRIVER_MODULE(its_fdt, gic, gicv3_its_fdt_driver, 0, 0,
|
||||||
gicv3_its_fdt_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gicv3_its_fdt_probe(device_t dev)
|
gicv3_its_fdt_probe(device_t dev)
|
||||||
@ -2007,10 +2006,9 @@ static device_method_t gicv3_its_acpi_methods[] = {
|
|||||||
DEFINE_CLASS_1(its, gicv3_its_acpi_driver, gicv3_its_acpi_methods,
|
DEFINE_CLASS_1(its, gicv3_its_acpi_driver, gicv3_its_acpi_methods,
|
||||||
sizeof(struct gicv3_its_softc), gicv3_its_driver);
|
sizeof(struct gicv3_its_softc), gicv3_its_driver);
|
||||||
#undef its_baseclasses
|
#undef its_baseclasses
|
||||||
static devclass_t gicv3_its_acpi_devclass;
|
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(its_acpi, gic, gicv3_its_acpi_driver,
|
EARLY_DRIVER_MODULE(its_acpi, gic, gicv3_its_acpi_driver, 0, 0,
|
||||||
gicv3_its_acpi_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gicv3_its_acpi_probe(device_t dev)
|
gicv3_its_acpi_probe(device_t dev)
|
||||||
|
@ -482,10 +482,9 @@ static device_method_t nexus_fdt_methods[] = {
|
|||||||
#define nexus_baseclasses nexus_fdt_baseclasses
|
#define nexus_baseclasses nexus_fdt_baseclasses
|
||||||
DEFINE_CLASS_1(nexus, nexus_fdt_driver, nexus_fdt_methods, 1, nexus_driver);
|
DEFINE_CLASS_1(nexus, nexus_fdt_driver, nexus_fdt_methods, 1, nexus_driver);
|
||||||
#undef nexus_baseclasses
|
#undef nexus_baseclasses
|
||||||
static devclass_t nexus_fdt_devclass;
|
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(nexus_fdt, root, nexus_fdt_driver, nexus_fdt_devclass,
|
EARLY_DRIVER_MODULE(nexus_fdt, root, nexus_fdt_driver, 0, 0,
|
||||||
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
nexus_fdt_probe(device_t dev)
|
nexus_fdt_probe(device_t dev)
|
||||||
@ -543,10 +542,9 @@ static device_method_t nexus_acpi_methods[] = {
|
|||||||
DEFINE_CLASS_1(nexus, nexus_acpi_driver, nexus_acpi_methods, 1,
|
DEFINE_CLASS_1(nexus, nexus_acpi_driver, nexus_acpi_methods, 1,
|
||||||
nexus_driver);
|
nexus_driver);
|
||||||
#undef nexus_baseclasses
|
#undef nexus_baseclasses
|
||||||
static devclass_t nexus_acpi_devclass;
|
|
||||||
|
|
||||||
EARLY_DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, nexus_acpi_devclass,
|
EARLY_DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, 0, 0,
|
||||||
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
BUS_PASS_BUS + BUS_PASS_ORDER_FIRST);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
nexus_acpi_probe(device_t dev)
|
nexus_acpi_probe(device_t dev)
|
||||||
|
@ -290,7 +290,5 @@ static device_method_t smmu_acpi_methods[] = {
|
|||||||
DEFINE_CLASS_1(smmu, smmu_acpi_driver, smmu_acpi_methods,
|
DEFINE_CLASS_1(smmu, smmu_acpi_driver, smmu_acpi_methods,
|
||||||
sizeof(struct smmu_softc), smmu_driver);
|
sizeof(struct smmu_softc), smmu_driver);
|
||||||
|
|
||||||
static devclass_t smmu_acpi_devclass;
|
EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, 0, 0,
|
||||||
|
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
||||||
EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, smmu_acpi_devclass,
|
|
||||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user