diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-07-22 06:03:19 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-22 06:03:19 +0300 |
commit | bc9775d8697f57b333b6b316fb5145d6ca9dc36d (patch) | |
tree | 2eea64bed76f443a644ff078d2b2413a1dde29ce /drivers/nvdimm/nd-core.h | |
parent | e7a11b449e6e2e2caadf6792c7afeecd68800651 (diff) | |
download | linux-bc9775d8697f57b333b6b316fb5145d6ca9dc36d.tar.xz |
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 <jlee@suse.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
-rw-r--r-- | drivers/nvdimm/nd-core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h index 6e961f7f43e7..38ce6bbbc170 100644 --- a/drivers/nvdimm/nd-core.h +++ b/drivers/nvdimm/nd-core.h @@ -26,7 +26,6 @@ extern int nvdimm_major; struct nvdimm_bus { struct nvdimm_bus_descriptor *nd_desc; wait_queue_head_t probe_wait; - struct module *module; struct list_head list; struct device dev; int id, probe_active; |