summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/host/Makefile')
-rw-r--r--drivers/nvme/host/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile
index 3e26dc921c38..baf9f52bbfa5 100644
--- a/drivers/nvme/host/Makefile
+++ b/drivers/nvme/host/Makefile
@@ -1,4 +1,5 @@
obj-$(CONFIG_BLK_DEV_NVME) += nvme.o
-nvme-y += core.o pci.o scsi.o lightnvm.o
+nvme-y += core.o pci.o lightnvm.o
+nvme-$(CONFIG_BLK_DEV_NVME_SCSI) += scsi.o