libnvdimm, namespace: make a couple of functions static
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Oct 2017 09:55:57 +0000 (10:55 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 7 Oct 2017 17:04:06 +0000 (10:04 -0700)
commit65853a1da3c181f85d368daa40abb91025c368fc
tree3b14667b99c1a1d98cc7fab6a2cf76645e28a66a
parentefbf6f50ada168b68f5e3de474bc8dee4a02d046
libnvdimm, namespace: make a couple of functions static

The functions create_namespace_pmem and create_namespace_blk are local
to the source and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'create_namespace_pmem' was not declared. Should it be static?
symbol 'create_namespace_blk' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/namespace_devs.c