diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-07 19:38:04 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-11 18:09:26 -0400 |
commit | a8a6d2e04c4ffda055db70814c50bd106e44730f (patch) | |
tree | 708293a26c301df1473b78ab09b1d89849be37a7 /include/linux/libnvdimm.h | |
parent | 29b9aa0aa3837c93ecd804dd3ada39b8cc75607d (diff) |
libnvdimm, nfit: remove nfit_spa_map() infrastructure
Now that all shared mappings are handled by devm_nvdimm_memremap() we no
longer need nfit_spa_map() nor do we need to trigger a callback to the
bus provider at region disable time.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/libnvdimm.h')
-rw-r--r-- | include/linux/libnvdimm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 18c3cc48a970..1050f9aa3a3e 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h | |||
@@ -114,7 +114,6 @@ struct device; | |||
114 | struct nd_blk_region; | 114 | struct nd_blk_region; |
115 | struct nd_blk_region_desc { | 115 | struct nd_blk_region_desc { |
116 | int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); | 116 | int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); |
117 | void (*disable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); | ||
118 | int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, | 117 | int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, |
119 | void *iobuf, u64 len, int rw); | 118 | void *iobuf, u64 len, int rw); |
120 | struct nd_region_desc ndr_desc; | 119 | struct nd_region_desc ndr_desc; |