Skip to content

Commit aa71987

Browse files
Christoph Hellwigsagigrimberg
authored andcommitted
nvme: fabrics drivers don't need the nvme-pci driver
So select the NVME_CORE symbol instead of depending on BLK_DEV_NVME. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jay Freyensee <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
1 parent 98096d8 commit aa71987

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/nvme/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ config NVME_FABRICS
3131
config NVME_RDMA
3232
tristate "NVM Express over Fabrics RDMA host driver"
3333
depends on INFINIBAND
34-
depends on BLK_DEV_NVME
34+
select NVME_CORE
3535
select NVME_FABRICS
3636
select SG_POOL
3737
help

drivers/nvme/target/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ config NVME_TARGET
1515

1616
config NVME_TARGET_LOOP
1717
tristate "NVMe loopback device support"
18-
depends on BLK_DEV_NVME
1918
depends on NVME_TARGET
19+
select NVME_CORE
2020
select NVME_FABRICS
2121
select SG_POOL
2222
help

0 commit comments

Comments
 (0)