Browse Source

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>
Johannes Berg 13 năm trước cách đây
mục cha
commit
011ad0e9f8

+ 2 - 2
net/mac80211/Makefile

@@ -24,7 +24,7 @@ mac80211-y := \
 	wme.o \
 	wme.o \
 	event.o \
 	event.o \
 	chan.o \
 	chan.o \
-	driver-trace.o mlme.o
+	trace.o mlme.o
 
 
 mac80211-$(CONFIG_MAC80211_LEDS) += led.o
 mac80211-$(CONFIG_MAC80211_LEDS) += led.o
 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
@@ -42,7 +42,7 @@ mac80211-$(CONFIG_MAC80211_MESH) += \
 
 
 mac80211-$(CONFIG_PM) += pm.o
 mac80211-$(CONFIG_PM) += pm.o
 
 
-CFLAGS_driver-trace.o := -I$(src)
+CFLAGS_trace.o := -I$(src)
 
 
 # objects for PID algorithm
 # objects for PID algorithm
 rc80211_pid-y := rc80211_pid_algo.o
 rc80211_pid-y := rc80211_pid_algo.o

+ 1 - 1
net/mac80211/driver-ops.h

@@ -3,7 +3,7 @@
 
 
 #include <net/mac80211.h>
 #include <net/mac80211.h>
 #include "ieee80211_i.h"
 #include "ieee80211_i.h"
-#include "driver-trace.h"
+#include "trace.h"
 
 
 static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata)
 static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata)
 {
 {

+ 0 - 1
net/mac80211/offchannel.c

@@ -15,7 +15,6 @@
 #include <linux/export.h>
 #include <linux/export.h>
 #include <net/mac80211.h>
 #include <net/mac80211.h>
 #include "ieee80211_i.h"
 #include "ieee80211_i.h"
-#include "driver-trace.h"
 #include "driver-ops.h"
 #include "driver-ops.h"
 
 
 /*
 /*

+ 1 - 1
net/mac80211/driver-trace.c → net/mac80211/trace.c

@@ -5,5 +5,5 @@
 #ifndef __CHECKER__
 #ifndef __CHECKER__
 #include "driver-ops.h"
 #include "driver-ops.h"
 #define CREATE_TRACE_POINTS
 #define CREATE_TRACE_POINTS
-#include "driver-trace.h"
+#include "trace.h"
 #endif
 #endif

+ 1 - 1
net/mac80211/driver-trace.h → net/mac80211/trace.h

@@ -1637,5 +1637,5 @@ TRACE_EVENT(stop_queue,
 #undef TRACE_INCLUDE_PATH
 #undef TRACE_INCLUDE_PATH
 #define TRACE_INCLUDE_PATH .
 #define TRACE_INCLUDE_PATH .
 #undef TRACE_INCLUDE_FILE
 #undef TRACE_INCLUDE_FILE
-#define TRACE_INCLUDE_FILE driver-trace
+#define TRACE_INCLUDE_FILE trace
 #include <trace/define_trace.h>
 #include <trace/define_trace.h>