arm64 cavium: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
589aa3d595
commit
d99a98d54f
@ -103,12 +103,8 @@ static device_method_t thunder_pcie_fdt_methods[] = {
|
||||
DEFINE_CLASS_1(pcib, thunder_pcie_fdt_driver, thunder_pcie_fdt_methods,
|
||||
sizeof(struct generic_pcie_fdt_softc), generic_pcie_fdt_driver);
|
||||
|
||||
static devclass_t thunder_pcie_fdt_devclass;
|
||||
|
||||
DRIVER_MODULE(thunder_pcib, simplebus, thunder_pcie_fdt_driver,
|
||||
thunder_pcie_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(thunder_pcib, ofwbus, thunder_pcie_fdt_driver,
|
||||
thunder_pcie_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(thunder_pcib, simplebus, thunder_pcie_fdt_driver, 0, 0);
|
||||
DRIVER_MODULE(thunder_pcib, ofwbus, thunder_pcie_fdt_driver, 0, 0);
|
||||
|
||||
static const struct ofw_bus_devinfo *
|
||||
thunder_pcie_ofw_get_devinfo(device_t bus __unused, device_t child)
|
||||
|
@ -195,10 +195,9 @@ static device_method_t thunder_pem_methods[] = {
|
||||
DEFINE_CLASS_0(pcib, thunder_pem_driver, thunder_pem_methods,
|
||||
sizeof(struct thunder_pem_softc));
|
||||
|
||||
static devclass_t thunder_pem_devclass;
|
||||
extern struct bus_space memmap_bus;
|
||||
|
||||
DRIVER_MODULE(thunder_pem, pci, thunder_pem_driver, thunder_pem_devclass, 0, 0);
|
||||
DRIVER_MODULE(thunder_pem, pci, thunder_pem_driver, 0, 0);
|
||||
MODULE_DEPEND(thunder_pem, pci, 1, 1, 1);
|
||||
|
||||
static int
|
||||
|
@ -87,12 +87,8 @@ static device_method_t thunder_pem_fdt_methods[] = {
|
||||
DEFINE_CLASS_1(pcib, thunder_pem_fdt_driver, thunder_pem_fdt_methods,
|
||||
sizeof(struct thunder_pem_softc), thunder_pem_driver);
|
||||
|
||||
static devclass_t thunder_pem_fdt_devclass;
|
||||
|
||||
DRIVER_MODULE(thunder_pem, simplebus, thunder_pem_fdt_driver,
|
||||
thunder_pem_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(thunder_pem, ofwbus, thunder_pem_fdt_driver,
|
||||
thunder_pem_fdt_devclass, 0, 0);
|
||||
DRIVER_MODULE(thunder_pem, simplebus, thunder_pem_fdt_driver, 0, 0);
|
||||
DRIVER_MODULE(thunder_pem, ofwbus, thunder_pem_fdt_driver, 0, 0);
|
||||
|
||||
static int
|
||||
thunder_pem_fdt_probe(device_t dev)
|
||||
|
Loading…
Reference in New Issue
Block a user