lightnvm: make nvm_free static
authorJavier González <jg@lightnvm.io>
Sat, 15 Apr 2017 18:55:46 +0000 (20:55 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 16 Apr 2017 16:06:25 +0000 (10:06 -0600)
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>
drivers/lightnvm/core.c

index a63b563..eb9ab1a 100644 (file)
@@ -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;