summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSteffen Weber <steffen.weber@gmail.com>2018-01-02 19:24:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:43:47 +0100
commitaed3b970e68235dcf465b18f4c12a7efd09fb177 (patch)
treeada38c79ffc314761079000db29217d5ea81299b /drivers
parent3e598a7089eef1fe04d5b87cc154295302960e62 (diff)
scsi: smartpqi: allow static build ("built-in")
commit dc2db1dc5fb9ab3a43b305c2720fee5278dbee2a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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