diff options
author | Jens Axboe <axboe@fb.com> | 2016-01-13 13:04:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-28 03:01:32 -0400 |
commit | f2e81c026017222c18b178f175adf415c276b131 (patch) | |
tree | 3b15fa8c3613be3e96ae7c0b51c82239594f8ad1 /include/linux/lp.h | |
parent | f6031d95320dc2930f1b813e98533a01c92f3dc0 (diff) |
lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM
commit a7fd9a4f3e8179bab31e4637236ebb0e0b7867c6 upstream.
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>
[pebolle: backport to v4.4]
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/lp.h')
0 files changed, 0 insertions, 0 deletions