Changeset 28095


Ignore:
Timestamp:
2011-08-28T09:34:34+02:00 (6 years ago)
Author:
nbd
Message:

ath: fix compile errors with CONFIG_PACKAGE_ATH_DEBUG disabled (#10013)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/400-ath_move_debug_code.patch

    r28093 r28095  
    1010+               key.o \ 
    1111+               debug.o 
     12--- a/drivers/net/wireless/ath/ath.h 
     13+++ b/drivers/net/wireless/ath/ath.h 
     14@@ -277,13 +277,6 @@ ath_dbg(struct ath_common *common, enum  
     15 #endif /* CONFIG_ATH_DEBUG */ 
     16  
     17 /** Returns string describing opmode, or NULL if unknown mode. */ 
     18-#ifdef CONFIG_ATH_DEBUG 
     19 const char *ath_opmode_to_string(enum nl80211_iftype opmode); 
     20-#else 
     21-static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode) 
     22-{ 
     23-       return "UNKNOWN"; 
     24-} 
     25-#endif 
     26  
     27 #endif /* ATH_H */ 
Note: See TracChangeset for help on using the changeset viewer.