OSDN Git Service

lightnvm: remove dependencies on BLK_DEV_NVME and PCI
authorMatias Bjørling <mb@lightnvm.io>
Tue, 9 Oct 2018 11:11:31 +0000 (13:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Oct 2018 14:25:05 +0000 (08:25 -0600)
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>
drivers/lightnvm/Kconfig

index 439bf90..a872cd7 100644 (file)
@@ -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.