aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/debug.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-10-20 04:59:48 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-20 04:59:48 -0400
commit5eeaa2db162f1f6d83e988d4d28f4ba7be600e44 (patch)
tree440e245201485fcfb7858bf57aae755c00b15651 /drivers/net/wireless/ath/debug.h
parentc5e90f562047ff9713183cf5e18f5e8997bc7373 (diff)
parentc64557d666eb62eb5f296c6b93bd0a5525ed1e36 (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/ath/debug.h')
-rw-r--r--drivers/net/wireless/ath/debug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/debug.h b/drivers/net/wireless/ath/debug.h
index fd3a020682dc..64e4af2c2887 100644
--- a/drivers/net/wireless/ath/debug.h
+++ b/drivers/net/wireless/ath/debug.h
@@ -77,4 +77,14 @@ ath_print(struct ath_common *common, int dbg_mask, const char *fmt, ...)
77} 77}
78#endif /* CONFIG_ATH_DEBUG */ 78#endif /* CONFIG_ATH_DEBUG */
79 79
80/** Returns string describing opmode, or NULL if unknown mode. */
81#ifdef CONFIG_ATH_DEBUG
82const char *ath_opmode_to_string(enum nl80211_iftype opmode);
83#else
84static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode)
85{
86 return "UNKNOWN";
87}
88#endif
89
80#endif /* ATH_DEBUG_H */ 90#endif /* ATH_DEBUG_H */