public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 13/13] scsi/tracing: make scsi_trace.c depend on CONFIG_EVENT_TRACING
@ 2013-03-11  7:14 zhangwei(Jovi)
  0 siblings, 0 replies; only message in thread
From: zhangwei(Jovi) @ 2013-03-11  7:14 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Steven Rostedt,
	James E.J. Bottomley

make scsi_trace.c only compile on the condition of CONFIG_EVENT_TRACING

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-11  7:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11  7:14 [PATCH 13/13] scsi/tracing: make scsi_trace.c depend on CONFIG_EVENT_TRACING zhangwei(Jovi)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox