]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita92ce7425880f573e70b1f3a08fb4d94543d9b0b
tree3b14667b99c1a1d98cc7fab6a2cf76645e28a66a
parent5d3f8720c4b13a5aa53b604708bdfc2eeac196b0
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