aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-11 10:22:08 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-04-12 15:29:14 -0400
commitcc5569f63ecb82965f3fe2fde5e60bf1689d107a (patch)
tree91760af8b8c09b6593b23564006354c2a5a62bd9 /drivers/net/wireless/ath/ath5k
parent8e8d4ff051672d4a2939e7d6925c4acd234b0220 (diff)
ath5k: use more idiomatic tracing include style
Pretty much everywhere that uses a trace definition header that's not in include/trace/events/ uses the make system for the include path rather than putting it into the sources, so do that in ath5k as well. This came up during backporting work (where this is required), but since all other drivers do it this way upstream it seemed applicable. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r--drivers/net/wireless/ath/ath5k/Makefile1
-rw-r--r--drivers/net/wireless/ath/ath5k/trace.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/Makefile b/drivers/net/wireless/ath/ath5k/Makefile
index f60b3899afc4..1b3a34f7f224 100644
--- a/drivers/net/wireless/ath/ath5k/Makefile
+++ b/drivers/net/wireless/ath/ath5k/Makefile
@@ -10,6 +10,7 @@ ath5k-y += phy.o
10ath5k-y += reset.o 10ath5k-y += reset.o
11ath5k-y += attach.o 11ath5k-y += attach.o
12ath5k-y += base.o 12ath5k-y += base.o
13CFLAGS_base.o += -I$(src)
13ath5k-y += led.o 14ath5k-y += led.o
14ath5k-y += rfkill.o 15ath5k-y += rfkill.o
15ath5k-y += ani.o 16ath5k-y += ani.o
diff --git a/drivers/net/wireless/ath/ath5k/trace.h b/drivers/net/wireless/ath/ath5k/trace.h
index 00f015819344..c6eef519bb61 100644
--- a/drivers/net/wireless/ath/ath5k/trace.h
+++ b/drivers/net/wireless/ath/ath5k/trace.h
@@ -97,7 +97,7 @@ TRACE_EVENT(ath5k_tx_complete,
97#if defined(CONFIG_ATH5K_TRACER) && !defined(__CHECKER__) 97#if defined(CONFIG_ATH5K_TRACER) && !defined(__CHECKER__)
98 98
99#undef TRACE_INCLUDE_PATH 99#undef TRACE_INCLUDE_PATH
100#define TRACE_INCLUDE_PATH ../../drivers/net/wireless/ath/ath5k 100#define TRACE_INCLUDE_PATH .
101#undef TRACE_INCLUDE_FILE 101#undef TRACE_INCLUDE_FILE
102#define TRACE_INCLUDE_FILE trace 102#define TRACE_INCLUDE_FILE trace
103 103