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>
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user