summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm
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 10:06:25 -0600
commit46b160ceda405746c10d0e73d3a73fb5219f7fd3 (patch)
tree72c70ae977ca4b021a7153b59f2ebf6aade9d116 /drivers/lightnvm
parent4af3f75d7992dd0dc49da95fbc039fa3806fba4f (diff)
downloadblackbird-op-linux-46b160ceda405746c10d0e73d3a73fb5219f7fd3.tar.gz
blackbird-op-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/lightnvm')
-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;
OpenPOWER on IntegriCloud