make scsi_trace.c only compile on the condition of CONFIG_EVENT_TRACING

Signed-off-by: zhangwei(Jovi) <[email protected]>
---
 drivers/scsi/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
index b607ba4..aab9ade 100644
--- a/drivers/scsi/Makefile
+++ b/drivers/scsi/Makefile
@@ -168,7 +168,7 @@ scsi_mod-y                  += scsi_scan.o scsi_sysfs.o 
scsi_devinfo.o
 scsi_mod-$(CONFIG_SCSI_NETLINK)        += scsi_netlink.o
 scsi_mod-$(CONFIG_SYSCTL)      += scsi_sysctl.o
 scsi_mod-$(CONFIG_SCSI_PROC_FS)        += scsi_proc.o
-scsi_mod-y                     += scsi_trace.o
+scsi_mod-$(CONFIG_EVENT_TRACING)+= scsi_trace.o
 scsi_mod-$(CONFIG_PM)          += scsi_pm.o

 hv_storvsc-y                   := storvsc_drv.o
-- 
1.7.9.7


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to