lightnvm: include NVM Express driver if OCSSD is selected for build
authorRakesh Pandit <rakesh@tuxera.com>
Fri, 13 Oct 2017 12:45:55 +0000 (14:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commit32c662c58a9b9d0c99e713a14ca323a9a91c73a0
tree7f1531527d5822fb475c15d2f64deb1c5b5580e7
parentc9d84b350f9b253872fc24f4dcfea166c884ee15
lightnvm: include NVM Express driver if OCSSD is selected for build

Because NVM needs BLK_DEV_NVME, select it automatically if we mark NVM
in config file before building kernel.  Also append PCI to depends as
select doesn't automatically add dependencies.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/Kconfig