diff mbox

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

Message ID 20171222171847.14006-1-steffen.weber@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Steffen Weber Dec. 22, 2017, 5:18 p.m. UTC
If CONFIG_SCSI_SMARTPQI=y then don't build this driver as a module.
---
 drivers/scsi/smartpqi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/scsi/smartpqi/Makefile b/drivers/scsi/smartpqi/Makefile
index 0f42a225a..e6b779930 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