diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 00b64f78887dd54f36f0839af0259bd5917480f0..9ebd2cfbd8490d212502cc077f8f2fe2e36a551a 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);