summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJavier González <jg@lightnvm.io>2017-04-15 20:55:46 +0200
committerJens Axboe <axboe@fb.com>2017-04-16 18:06:25 +0200
commit46b160ceda405746c10d0e73d3a73fb5219f7fd3 (patch)
tree72c70ae977ca4b021a7153b59f2ebf6aade9d116 /drivers
parentlightnvm: allow to init targets on factory mode (diff)
downloadlinux-46b160ceda405746c10d0e73d3a73fb5219f7fd3.tar.xz
linux-46b160ceda405746c10d0e73d3a73fb5219f7fd3.zip
lightnvm: make nvm_free static
Prefix the nvm_free static function with a missing static keyword. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers')
-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 a63b563b1a8a..eb9ab1ae3719 100644
--- a/drivers/lightnvm/core.c
+++ b/drivers/lightnvm/core.c
@@ -999,7 +999,7 @@ err_fmtype:
return ret;
}
-void nvm_free(struct nvm_dev *dev)
+static void nvm_free(struct nvm_dev *dev)
{
if (!dev)
return;