diff options
author | Javier González <jg@lightnvm.io> | 2017-04-15 20:55:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-16 10:06:25 -0600 |
commit | 46b160ceda405746c10d0e73d3a73fb5219f7fd3 (patch) | |
tree | 72c70ae977ca4b021a7153b59f2ebf6aade9d116 /drivers | |
parent | 4af3f75d7992dd0dc49da95fbc039fa3806fba4f (diff) |
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.c | 2 |
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; |