lightnvm: make __nvm_submit_ppa static
authorMatias Bjørling <m@bjorling.me>
Thu, 7 Jul 2016 07:54:23 +0000 (09:54 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 7 Jul 2016 14:51:52 +0000 (08:51 -0600)
The __nvm_submit_ppa() function is not used outside lightnvm core.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c

index 00b64f78887dd54f36f0839af0259bd5917480f0..9ebd2cfbd8490d212502cc077f8f2fe2e36a551a 100644 (file)
@@ -325,7 +325,7 @@ static void nvm_end_io_sync(struct nvm_rq *rqd)
        complete(waiting);
 }
 
-int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode,
+static int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode,
                                                int flags, void *buf, int len)
 {
        DECLARE_COMPLETION_ONSTACK(wait);