scsi: smartpqi: allow static build ("built-in")

commit dc2db1dc5f 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>
This commit is contained in:
Steffen Weber
2018-01-02 19:24:09 +01:00
committed by Greg Kroah-Hartman
parent 3e598a7089
commit aed3b970e6

View 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