2011-08-27 21:57:07 +00:00
|
|
|
--- a/drivers/net/wireless/ath/Makefile
|
|
|
|
+++ b/drivers/net/wireless/ath/Makefile
|
2013-06-15 20:14:06 +00:00
|
|
|
@@ -11,7 +11,7 @@ obj-$(CPTCFG_ATH_COMMON) += ath.o
|
2011-08-27 21:57:07 +00:00
|
|
|
ath-objs := main.o \
|
|
|
|
regd.o \
|
|
|
|
hw.o \
|
|
|
|
- key.o
|
|
|
|
+ key.o \
|
|
|
|
+ debug.o
|
2012-02-07 11:28:11 +00:00
|
|
|
|
2013-06-15 20:14:06 +00:00
|
|
|
-ath-$(CPTCFG_ATH_DEBUG) += debug.o
|
2012-02-07 11:28:11 +00:00
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|
2011-08-28 07:34:34 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath.h
|
2012-12-07 16:46:04 +00:00
|
|
|
@@ -281,13 +281,6 @@ void _ath_dbg(struct ath_common *common,
|
2013-06-15 20:14:06 +00:00
|
|
|
#endif /* CPTCFG_ATH_DEBUG */
|
2011-08-28 07:34:34 +00:00
|
|
|
|
|
|
|
/** Returns string describing opmode, or NULL if unknown mode. */
|
2013-06-15 20:14:06 +00:00
|
|
|
-#ifdef CPTCFG_ATH_DEBUG
|
2011-08-28 07:34:34 +00: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 */
|