mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
libnvdimm: move ->module to struct nvdimm_bus_descriptor
Let the provider module be explicitly passed in rather than implicitly assumed by the module that calls nvdimm_bus_register(). This is in preparation for unifying the nfit and nfit_test driver teardown paths. Reviewed-by: Lee, Chun-Yi <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
e7a11b449e
commit
bc9775d869
7 changed files with 10 additions and 10 deletions
|
|
@ -2417,6 +2417,7 @@ void acpi_nfit_desc_init(struct acpi_nfit_desc *acpi_desc, struct device *dev)
|
|||
acpi_desc->blk_do_io = acpi_nfit_blk_region_do_io;
|
||||
nd_desc = &acpi_desc->nd_desc;
|
||||
nd_desc->provider_name = "ACPI.NFIT";
|
||||
nd_desc->module = THIS_MODULE;
|
||||
nd_desc->ndctl = acpi_nfit_ctl;
|
||||
nd_desc->flush_probe = acpi_nfit_flush_probe;
|
||||
nd_desc->clear_to_send = acpi_nfit_clear_to_send;
|
||||
|
|
|
|||
Loading…
Reference in a new issue