diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2021-05-25 08:59:46 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-08-16 21:03:18 +0200 |
commit | 0866200ed7fdfbfba0c033aad63ff407e5368570 (patch) | |
tree | d876536d460c6d234a16df01dd04b4958fdf1967 /drivers/nvme/target/Kconfig | |
parent | e19e9f47f341cafcaf41253723f083223a4652a5 (diff) |
nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers
Transport drivers need both core and fabrics modules, instead of
selecting both, have the selection transitive such that NVME_FABRICS
selects NVME_CORE and transport drivers select NVME_FABRICS.
Suggested-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/Kconfig')
-rw-r--r-- | drivers/nvme/target/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index 4be2ececbc45..973561c93888 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -31,7 +31,6 @@ config NVME_TARGET_PASSTHRU config NVME_TARGET_LOOP tristate "NVMe loopback device support" depends on NVME_TARGET - select NVME_CORE select NVME_FABRICS select SG_POOL help @@ -65,7 +64,6 @@ config NVME_TARGET_FC config NVME_TARGET_FCLOOP tristate "NVMe over Fabrics FC Transport Loopback Test driver" depends on NVME_TARGET - select NVME_CORE select NVME_FABRICS select SG_POOL depends on NVME_FC |