commit | a7fd9a4f3e8179bab31e4637236ebb0e0b7867c6 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Jan 13 13:04:11 2016 -0700 |
committer | Jens Axboe <axboe@fb.com> | Wed Jan 13 13:04:11 2016 -0700 |
tree | c17e0ba827b4518728b7142fd24b31a70b90af0f | |
parent | 8b4970c41f88ad772771f87b1c82c395248a84d8 [diff] |
lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM null_blk defines an empty version of this ops structure if CONFIG_NVM isn't set, but it doesn't know the type. Move those bits out of the protection of CONFIG_NVM in the main lightnvm include. Signed-off-by: Jens Axboe <axboe@fb.com>