|
@@ -1875,7 +1875,7 @@ static int select_pmem_id(struct nd_region *nd_region, u8 *pmem_id)
|
|
* @nspm: target namespace to create
|
|
* @nspm: target namespace to create
|
|
* @nd_label: target pmem namespace label to evaluate
|
|
* @nd_label: target pmem namespace label to evaluate
|
|
*/
|
|
*/
|
|
-struct device *create_namespace_pmem(struct nd_region *nd_region,
|
|
|
|
|
|
+static struct device *create_namespace_pmem(struct nd_region *nd_region,
|
|
struct nd_namespace_index *nsindex,
|
|
struct nd_namespace_index *nsindex,
|
|
struct nd_namespace_label *nd_label)
|
|
struct nd_namespace_label *nd_label)
|
|
{
|
|
{
|
|
@@ -2186,7 +2186,7 @@ static int add_namespace_resource(struct nd_region *nd_region,
|
|
return i;
|
|
return i;
|
|
}
|
|
}
|
|
|
|
|
|
-struct device *create_namespace_blk(struct nd_region *nd_region,
|
|
|
|
|
|
+static struct device *create_namespace_blk(struct nd_region *nd_region,
|
|
struct nd_namespace_label *nd_label, int count)
|
|
struct nd_namespace_label *nd_label, int count)
|
|
{
|
|
{
|
|
|
|
|