Skip to content

Commit

Permalink
lightnvm: remove dependencies on BLK_DEV_NVME and PCI
Browse files Browse the repository at this point in the history
No need to force NVMe device driver to be compiled in if the
lightnvm subsystem is selected. Also no need for PCI to be selected
as well, as it would be selected by the device driver that hooks into
the subsystem.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Matias Bjørling authored and Jens Axboe committed Oct 9, 2018
1 parent 36e7653 commit 73569e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/lightnvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

menuconfig NVM
bool "Open-Channel SSD target support"
depends on BLOCK && PCI
select BLK_DEV_NVME
depends on BLOCK
help
Say Y here to get to enable Open-channel SSDs.

Expand Down

0 comments on commit 73569e1

Please sign in to comment.