aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier González <[email protected]>2017-04-15 20:55:46 +0200
committerJens Axboe <[email protected]>2017-04-16 10:06:25 -0600
commit46b160ceda405746c10d0e73d3a73fb5219f7fd3 (patch)
tree72c70ae977ca4b021a7153b59f2ebf6aade9d116
parent4af3f75d7992dd0dc49da95fbc039fa3806fba4f (diff)
lightnvm: make nvm_free static
Prefix the nvm_free static function with a missing static keyword. Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
-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;