diff options
author | Matias Bjørling <m@bjorling.me> | 2016-07-07 03:54:23 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-07-07 10:51:52 -0400 |
commit | d9e46d5d7cb0d27a07f6c33a90ac6b4b522a5657 (patch) | |
tree | 6a88b77ee58566e9a422207e5c3c3e945037f5bb /drivers/lightnvm/core.c | |
parent | 8680f165eaa56cc9812d7d9b4903f449df0f6a45 (diff) |
lightnvm: make __nvm_submit_ppa static
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>
Diffstat (limited to 'drivers/lightnvm/core.c')
-rw-r--r-- | drivers/lightnvm/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 00b64f78887d..9ebd2cfbd849 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) | |||
325 | complete(waiting); | 325 | complete(waiting); |
326 | } | 326 | } |
327 | 327 | ||
328 | int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode, | 328 | static int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode, |
329 | int flags, void *buf, int len) | 329 | int flags, void *buf, int len) |
330 | { | 330 | { |
331 | DECLARE_COMPLETION_ONSTACK(wait); | 331 | DECLARE_COMPLETION_ONSTACK(wait); |