diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-08 01:38:04 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-12 00:09:26 +0200 |
commit | a8a6d2e04c4ffda055db70814c50bd106e44730f (patch) | |
tree | 708293a26c301df1473b78ab09b1d89849be37a7 /drivers/nvdimm/nd.h | |
parent | libnvdimm: introduce devm_nvdimm_memremap(), convert nfit_spa_map() users (diff) | |
download | linux-a8a6d2e04c4ffda055db70814c50bd106e44730f.tar.xz linux-a8a6d2e04c4ffda055db70814c50bd106e44730f.zip |
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 'drivers/nvdimm/nd.h')
-rw-r--r-- | drivers/nvdimm/nd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index d0ac93c31dda..2819e886dfd2 100644 --- a/drivers/nvdimm/nd.h +++ b/drivers/nvdimm/nd.h @@ -119,7 +119,6 @@ struct nd_region { struct nd_blk_region { int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); - void (*disable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, void *iobuf, u64 len, int rw); void *blk_provider_data; |