ath5k: clean up base.h and its use
Remove unnecessary includes from base.h. Add includes to other files as necessary. Don't include base.h unless needed. Move declarations for functions in base.c from ath5k.h to base.h. Use a better named define to protect base.h against double inclusion. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
这个提交包含在:
@@ -2,7 +2,6 @@
|
||||
#define __TRACE_ATH5K_H
|
||||
|
||||
#include <linux/tracepoint.h>
|
||||
#include "base.h"
|
||||
|
||||
#ifndef CONFIG_ATH5K_TRACER
|
||||
#undef TRACE_EVENT
|
||||
@@ -11,6 +10,8 @@ static inline void trace_ ## name(proto) {}
|
||||
#endif
|
||||
|
||||
struct sk_buff;
|
||||
struct ath5k_txq;
|
||||
struct ath5k_tx_status;
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
#define TRACE_SYSTEM ath5k
|
||||
|
在新工单中引用
屏蔽一个用户