summaryrefslogtreecommitdiffstats
path: root/net/mac80211/trace.c
diff options
context:
space:
mode:
authorJohannes Berg2012-06-22 12:55:52 +0200
committerJohannes Berg2012-06-24 11:32:38 +0200
commit011ad0e9f8533cd003fb760663713df2655a2114 (patch)
tree75f08348ca9cd75c25782b1d4de88170eec0085c /net/mac80211/trace.c
parentmac80211: clean up debugging (diff)
downloadkernel-qcow2-linux-011ad0e9f8533cd003fb760663713df2655a2114.tar.gz
kernel-qcow2-linux-011ad0e9f8533cd003fb760663713df2655a2114.tar.xz
kernel-qcow2-linux-011ad0e9f8533cd003fb760663713df2655a2114.zip
mac80211: rename driver-trace file
This file will contain more soon, so rename it to just trace. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.c')
-rw-r--r--net/mac80211/trace.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/trace.c b/net/mac80211/trace.c
new file mode 100644
index 000000000000..943da6e7076c
--- /dev/null
+++ b/net/mac80211/trace.c
@@ -0,0 +1,9 @@
+/* bug in tracepoint.h, it should include this */
+#include <linux/module.h>
+
+/* sparse isn't too happy with all macros... */
+#ifndef __CHECKER__
+#include "driver-ops.h"
+#define CREATE_TRACE_POINTS
+#include "trace.h"
+#endif