]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 a63b563b1a8a001dc996d7181dbcf6e72ce0dafe..eb9ab1ae37199b1c0b07a5956eddd4e8b57820bd 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;