From: Steffen Weber Date: Tue, 2 Jan 2018 18:24:09 +0000 (+0100) Subject: scsi: smartpqi: allow static build ("built-in") X-Git-Tag: v4.16-rc1~140^2~52 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dc2db1dc5fb9ab3a43b305c2720fee5278dbee2a;p=linux.git 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 Signed-off-by: Martin K. Petersen --- 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