2011-08-28 05:57:07 +08:00
|
|
|
--- a/drivers/net/wireless/ath/Makefile
|
|
|
|
+++ b/drivers/net/wireless/ath/Makefile
|
2014-10-19 01:38:59 +08:00
|
|
|
@@ -13,10 +13,10 @@ ath-objs := main.o \
|
2011-08-28 05:57:07 +08:00
|
|
|
regd.o \
|
|
|
|
hw.o \
|
2013-11-13 06:11:33 +08:00
|
|
|
key.o \
|
|
|
|
+ debug.o \
|
|
|
|
dfs_pattern_detector.o \
|
|
|
|
dfs_pri_detector.o
|
2012-02-07 19:28:11 +08:00
|
|
|
|
2013-06-16 04:14:06 +08:00
|
|
|
-ath-$(CPTCFG_ATH_DEBUG) += debug.o
|
2014-10-19 01:38:59 +08:00
|
|
|
ath-$(CPTCFG_ATH_TRACEPOINTS) += trace.o
|
|
|
|
|
2012-02-07 19:28:11 +08:00
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|
2011-08-28 15:34:34 +08:00
|
|
|
--- a/drivers/net/wireless/ath/ath.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath.h
|
2015-04-14 20:17:34 +08:00
|
|
|
@@ -316,13 +316,6 @@ void _ath_dbg(struct ath_common *common,
|
2013-06-16 04:14:06 +08:00
|
|
|
#endif /* CPTCFG_ATH_DEBUG */
|
2011-08-28 15:34:34 +08:00
|
|
|
|
|
|
|
/** Returns string describing opmode, or NULL if unknown mode. */
|
2013-06-16 04:14:06 +08:00
|
|
|
-#ifdef CPTCFG_ATH_DEBUG
|
2011-08-28 15:34:34 +08:00
|
|
|
const char *ath_opmode_to_string(enum nl80211_iftype opmode);
|
|
|
|
-#else
|
|
|
|
-static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
|
|
|
|
-{
|
|
|
|
- return "UNKNOWN";
|
|
|
|
-}
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
#endif /* ATH_H */
|