1 --- a/drivers/net/wireless/ath/Makefile
2 +++ b/drivers/net/wireless/ath/Makefile
3 @@ -15,10 +15,10 @@ ath-objs := main.o \
8 dfs_pattern_detector.o \
11 -ath-$(CPTCFG_ATH_DEBUG) += debug.o
12 ath-$(CPTCFG_ATH_TRACEPOINTS) += trace.o
14 CFLAGS_trace.o := -I$(src)
15 --- a/drivers/net/wireless/ath/ath.h
16 +++ b/drivers/net/wireless/ath/ath.h
17 @@ -321,14 +321,7 @@ void _ath_dbg(struct ath_common *common,
18 #endif /* CPTCFG_ATH_DEBUG */
20 /** Returns string describing opmode, or NULL if unknown mode. */
21 -#ifdef CPTCFG_ATH_DEBUG
22 const char *ath_opmode_to_string(enum nl80211_iftype opmode);
24 -static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
30 extern const char *ath_bus_type_strings[];
31 static inline const char *ath_bus_type_to_string(enum ath_bus_type bustype)