libnvdimm, pmem: move definition of nvdimm_namespace_add_poison to nd.h
[cascardo/linux.git] / drivers / nvdimm / nd.h
index ba91fcd..198933d 100644 (file)
@@ -268,6 +268,8 @@ int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns);
 int nvdimm_namespace_detach_btt(struct nd_namespace_common *ndns);
 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns,
                char *name);
+int nvdimm_namespace_add_poison(struct gendisk *disk, resource_size_t offset,
+               struct nd_namespace_common *ndns);
 int nd_blk_region_init(struct nd_region *nd_region);
 void __nd_iostat_start(struct bio *bio, unsigned long *start);
 static inline bool nd_iostat_start(struct bio *bio, unsigned long *start)