[PATCH 13/13] scsi/tracing: make scsi_trace.c depend on CONFIG_EVENT_TRACING

From: zhangwei(Jovi)
Date: Mon Mar 11 2013 - 03:14:46 EST


make scsi_trace.c only compile on the condition of CONFIG_EVENT_TRACING

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@xxxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/