mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
pchtherm/intelspi: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
8d1611432f
commit
289b5607da
2 changed files with 4 additions and 4 deletions
|
|
@ -307,6 +307,7 @@ static int pchtherm_detach(device_t dev)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static device_method_t pchtherm_methods[] =
|
||||
{
|
||||
DEVMETHOD(device_probe, pchtherm_probe),
|
||||
|
|
@ -315,12 +316,12 @@ static device_method_t pchtherm_methods[] =
|
|||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t pchtherm_driver = {
|
||||
"pchtherm",
|
||||
pchtherm_methods,
|
||||
sizeof(struct pchtherm_softc)
|
||||
};
|
||||
|
||||
static devclass_t pchtherm_devclass;
|
||||
DRIVER_MODULE(pchtherm, pci, pchtherm_driver, pchtherm_devclass, 0, 0);
|
||||
DRIVER_MODULE(pchtherm, pci, pchtherm_driver, 0, 0);
|
||||
PCI_PNP_INFO(pchtherm_devices);
|
||||
|
|
|
|||
|
|
@ -528,7 +528,6 @@ static driver_t intelspi_driver = {
|
|||
sizeof(struct intelspi_softc),
|
||||
};
|
||||
|
||||
static devclass_t intelspi_devclass;
|
||||
DRIVER_MODULE(intelspi, acpi, intelspi_driver, intelspi_devclass, 0, 0);
|
||||
DRIVER_MODULE(intelspi, acpi, intelspi_driver, 0, 0);
|
||||
MODULE_DEPEND(intelspi, acpi, 1, 1, 1);
|
||||
MODULE_DEPEND(intelspi, spibus, 1, 1, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue