summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/nd-core.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-01-06 12:03:41 -0800
committerDan Williams <dan.j.williams@intel.com>2016-01-09 08:39:03 -0800
commitad9a8bde2cb19f6876f964fc48acc8b6a2f325ff (patch)
treefbbaffa5f17b6a41a6664a9b7a43d546b102fd58 /drivers/nvdimm/nd-core.h
parent0caeef63e6d2f866d85bb507bf63e0ce8ec91cef (diff)
downloadlinux-ad9a8bde2cb19f6876f964fc48acc8b6a2f325ff.tar.bz2
libnvdimm, pmem: move definition of nvdimm_namespace_add_poison to nd.h
nd-core.h is private to the libnvdimm core internals and should not be used by drivers. 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h
index d3b7ea78df96..29acdaa757e2 100644
--- a/drivers/nvdimm/nd-core.h
+++ b/drivers/nvdimm/nd-core.h
@@ -90,6 +90,4 @@ bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
ssize_t nd_namespace_store(struct device *dev,
struct nd_namespace_common **_ndns, const char *buf,
size_t len);
-int nvdimm_namespace_add_poison(struct gendisk *disk, resource_size_t offset,
- struct nd_namespace_common *ndns);
#endif /* __ND_CORE_H__ */