summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/smartpqi
diff options
context:
space:
mode:
authorSteffen Weber <steffen.weber@gmail.com>2018-01-02 19:24:09 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-10 23:25:07 -0500
commitdc2db1dc5fb9ab3a43b305c2720fee5278dbee2a (patch)
treed1a4b6683c5772a0cd9c1d3f411bc8d16deefa7a /drivers/scsi/smartpqi
parent481b5e5c7949ed37870d0162071fd1f9933dd4d5 (diff)
downloadlinux-dc2db1dc5fb9ab3a43b305c2720fee5278dbee2a.tar.bz2
scsi: smartpqi: allow static build ("built-in")
If CONFIG_SCSI_SMARTPQI=y then don't build this driver as a module. Signed-off-by: Steffen Weber <steffen.weber@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi')
-rw-r--r--drivers/scsi/smartpqi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/smartpqi/Makefile b/drivers/scsi/smartpqi/Makefile
index 0f42a225a664..e6b779930230 100644
--- a/drivers/scsi/smartpqi/Makefile
+++ b/drivers/scsi/smartpqi/Makefile
@@ -1,3 +1,3 @@
ccflags-y += -I.
-obj-m += smartpqi.o
+obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o
smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o