nvdimm: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
9940f7a7f6
commit
534c3629e6
@ -63,7 +63,6 @@ static struct uuid intel_nvdimm_dsm_uuid =
|
||||
#define INTEL_NVDIMM_DSM_GET_LABEL_SIZE 4
|
||||
#define INTEL_NVDIMM_DSM_GET_LABEL_DATA 5
|
||||
|
||||
static devclass_t nvdimm_devclass;
|
||||
MALLOC_DEFINE(M_NVDIMM, "nvdimm", "NVDIMM driver memory");
|
||||
|
||||
static int
|
||||
@ -469,6 +468,5 @@ nvdimm_find_by_handle(nfit_handle_t nv_handle)
|
||||
return (res);
|
||||
}
|
||||
|
||||
DRIVER_MODULE(nvdimm, nvdimm_acpi_root, nvdimm_driver, nvdimm_devclass, NULL,
|
||||
NULL);
|
||||
DRIVER_MODULE(nvdimm, nvdimm_acpi_root, nvdimm_driver, NULL, NULL);
|
||||
MODULE_DEPEND(nvdimm, acpi, 1, 1, 1);
|
||||
|
@ -275,7 +275,5 @@ static driver_t nvdimm_acpi_driver = {
|
||||
sizeof(struct nvdimm_root_dev),
|
||||
};
|
||||
|
||||
static devclass_t nvdimm_acpi_root_devclass;
|
||||
DRIVER_MODULE(nvdimm_acpi_root, acpi, nvdimm_acpi_driver,
|
||||
nvdimm_acpi_root_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(nvdimm_acpi_root, acpi, nvdimm_acpi_driver, NULL, NULL);
|
||||
MODULE_DEPEND(nvdimm_acpi_root, acpi, 1, 1, 1);
|
||||
|
@ -356,8 +356,6 @@ static driver_t nvdimm_e820_driver = {
|
||||
sizeof(struct nvdimm_e820_bus),
|
||||
};
|
||||
|
||||
static devclass_t nvdimm_e820_devclass;
|
||||
|
||||
static int
|
||||
nvdimm_e820_chainevh(struct module *m, int e, void *arg __unused)
|
||||
{
|
||||
@ -390,5 +388,5 @@ nvdimm_e820_chainevh(struct module *m, int e, void *arg __unused)
|
||||
return (0);
|
||||
}
|
||||
|
||||
DRIVER_MODULE(nvdimm_e820, nexus, nvdimm_e820_driver, nvdimm_e820_devclass,
|
||||
DRIVER_MODULE(nvdimm_e820, nexus, nvdimm_e820_driver,
|
||||
nvdimm_e820_chainevh, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user