From: Matias Bjørling Date: Thu, 7 Jul 2016 07:54:23 +0000 (+0200) Subject: lightnvm: make __nvm_submit_ppa static X-Git-Tag: v4.14-rc1~2837^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9e46d5d7cb0d27a07f6c33a90ac6b4b522a5657;p=platform%2Fkernel%2Flinux-rpi.git lightnvm: make __nvm_submit_ppa static The __nvm_submit_ppa() function is not used outside lightnvm core. Signed-off-by: Matias Bjørling Signed-off-by: Jens Axboe --- diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 00b64f7..9ebd2cf 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c @@ -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);