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>
This commit is contained in:
Steffen Weber 2018-01-02 19:24:09 +01:00 committed by Martin K. Petersen
parent 481b5e5c79
commit dc2db1dc5f

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