summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/core.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2016-07-07 10:54:11 +0300
committerJens Axboe <axboe@fb.com>2016-07-07 17:51:52 +0300
commit58eaaf9b6ccb8d5e40b83b75b2aeb29a63ce653a (patch)
tree51db5dbf1465ab84202e063b30efd44bcb4b720c /drivers/lightnvm/core.c
parent6f929702191deb12d3cef8d9b7e774c0ab54fe5b (diff)
downloadlinux-58eaaf9b6ccb8d5e40b83b75b2aeb29a63ce653a.tar.xz
lightnvm: Make functions not used by ouside static
Mark functions not used by ouside of thier implementing file as static. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/core.c')
-rw-r--r--drivers/lightnvm/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c
index 13993c905601..8beb9c04d898 100644
--- a/drivers/lightnvm/core.c
+++ b/drivers/lightnvm/core.c
@@ -110,7 +110,7 @@ static struct nvmm_type *nvm_find_mgr_type(const char *name)
return NULL;
}
-struct nvmm_type *nvm_init_mgr(struct nvm_dev *dev)
+static struct nvmm_type *nvm_init_mgr(struct nvm_dev *dev)
{
struct nvmm_type *mt;
int ret;