xref: /linux/net/mac80211/debugfs.h (revision 6ac1ef482d7ae0c690f1640bf6eb818ff9a2d91e)
1 #ifndef __MAC80211_DEBUGFS_H
2 #define __MAC80211_DEBUGFS_H
3 
4 #ifdef CONFIG_MAC80211_DEBUGFS
5 extern void debugfs_hw_add(struct ieee80211_local *local);
6 extern int mac80211_format_buffer(char __user *userbuf, size_t count,
7 				  loff_t *ppos, char *fmt, ...);
8 #else
9 static inline void debugfs_hw_add(struct ieee80211_local *local)
10 {
11 }
12 #endif
13 
14 #endif /* __MAC80211_DEBUGFS_H */
15