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.9.83~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aed3b970e68235dcf465b18f4c12a7efd09fb177;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- 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