scsi: smartpqi: allow static build ("built-in")
authorSteffen Weber <steffen.weber@gmail.com>
Tue, 2 Jan 2018 18:24:09 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:07 +0000 (23:25 -0500)
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>
drivers/scsi/smartpqi/Makefile

index 0f42a22..e6b7799 100644 (file)
@@ -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