libnvdimm: add an api to cast a 'struct nd_region' to its 'struct device'
[linux-2.6-block.git] / drivers / nvdimm / nd.h
index 8d6375ee0fda73c7ce12de259fddfd81449d9b8d..9dad5d7373093f7d57fbc7b63dcb072f01cfc18f 100644 (file)
@@ -341,7 +341,6 @@ static inline struct device *nd_dax_create(struct nd_region *nd_region)
 }
 #endif
 
-struct nd_region *to_nd_region(struct device *dev);
 int nd_region_to_nstype(struct nd_region *nd_region);
 int nd_region_register_namespaces(struct nd_region *nd_region, int *err);
 u64 nd_region_interleave_set_cookie(struct nd_region *nd_region,