Skip to content
Commit a7fd9a4f authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@fb.com>
parent 8b4970c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment