amd64: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
80d2b3de16
commit
badcc74fe9
@ -286,6 +286,5 @@ static device_method_t nexus_acpi_methods[] = {
|
||||
};
|
||||
|
||||
DEFINE_CLASS_1(nexus, nexus_acpi_driver, nexus_acpi_methods, 1, nexus_driver);
|
||||
static devclass_t nexus_devclass;
|
||||
|
||||
DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, nexus_devclass, 0, 0);
|
||||
DRIVER_MODULE(nexus_acpi, root, nexus_acpi_driver, 0, 0);
|
||||
|
@ -1060,9 +1060,7 @@ static driver_t fpupnp_driver = {
|
||||
1, /* no softc */
|
||||
};
|
||||
|
||||
static devclass_t fpupnp_devclass;
|
||||
|
||||
DRIVER_MODULE(fpupnp, acpi, fpupnp_driver, fpupnp_devclass, 0, 0);
|
||||
DRIVER_MODULE(fpupnp, acpi, fpupnp_driver, 0, 0);
|
||||
ISA_PNP_INFO(fpupnp_ids);
|
||||
#endif /* DEV_ISA */
|
||||
|
||||
|
@ -178,8 +178,6 @@ ivhd_teardown_intr(device_t dev)
|
||||
return (0);
|
||||
}
|
||||
|
||||
static devclass_t amdiommu_devclass;
|
||||
|
||||
/* This driver has to be loaded before ivhd */
|
||||
DRIVER_MODULE(amdiommu, pci, amdiommu_driver, amdiommu_devclass, 0, 0);
|
||||
DRIVER_MODULE(amdiommu, pci, amdiommu_driver, 0, 0);
|
||||
MODULE_DEPEND(amdiommu, pci, 1, 1, 1);
|
||||
|
@ -754,12 +754,9 @@ static driver_t ivhd_driver = {
|
||||
sizeof(struct amdvi_softc),
|
||||
};
|
||||
|
||||
static devclass_t ivhd_devclass;
|
||||
|
||||
/*
|
||||
* Load this module at the end after PCI re-probing to configure interrupt.
|
||||
*/
|
||||
DRIVER_MODULE_ORDERED(ivhd, acpi, ivhd_driver, ivhd_devclass, 0, 0,
|
||||
SI_ORDER_ANY);
|
||||
DRIVER_MODULE_ORDERED(ivhd, acpi, ivhd_driver, 0, 0, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(ivhd, acpi, 1, 1, 1);
|
||||
MODULE_DEPEND(ivhd, pci, 1, 1, 1);
|
||||
|
@ -195,9 +195,8 @@ static device_method_t ppt_methods[] = {
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
static devclass_t ppt_devclass;
|
||||
DEFINE_CLASS_0(ppt, ppt_driver, ppt_methods, sizeof(struct pptdev));
|
||||
DRIVER_MODULE(ppt, pci, ppt_driver, ppt_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(ppt, pci, ppt_driver, NULL, NULL);
|
||||
|
||||
static int
|
||||
ppt_find(struct vm *vm, int bus, int slot, int func, struct pptdev **pptp)
|
||||
|
Loading…
Reference in New Issue
Block a user