1 --- a/drivers/net/wireless/ath/Makefile
2 +++ b/drivers/net/wireless/ath/Makefile
3 @@ -13,8 +13,8 @@ ath-objs := main.o \
8 dfs_pattern_detector.o \
11 -ath-$(CPTCFG_ATH_DEBUG) += debug.o
12 ccflags-y += -D__CHECK_ENDIAN__
13 --- a/drivers/net/wireless/ath/ath.h
14 +++ b/drivers/net/wireless/ath/ath.h
15 @@ -295,13 +295,6 @@ void _ath_dbg(struct ath_common *common,
16 #endif /* CPTCFG_ATH_DEBUG */
18 /** Returns string describing opmode, or NULL if unknown mode. */
19 -#ifdef CPTCFG_ATH_DEBUG
20 const char *ath_opmode_to_string(enum nl80211_iftype opmode);
22 -static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)