packages: clean up the package folder
[openwrt/staging/mkresin.git] / package / kernel / mac80211 / patches / 400-ath_move_debug_code.patch
1 --- a/drivers/net/wireless/ath/Makefile
2 +++ b/drivers/net/wireless/ath/Makefile
3 @@ -11,7 +11,7 @@ obj-$(CPTCFG_ATH_COMMON) += ath.o
4 ath-objs := main.o \
5 regd.o \
6 hw.o \
7 - key.o
8 + key.o \
9 + debug.o
10
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 @@ -281,13 +281,6 @@ void _ath_dbg(struct ath_common *common,
16 #endif /* CPTCFG_ATH_DEBUG */
17
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);
21 -#else
22 -static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
23 -{
24 - return "UNKNOWN";
25 -}
26 -#endif
27
28 #endif /* ATH_H */