xref: /linux/net/mac80211/debugfs.h (revision e11d57ca0b6dada29007ce3ad3db6c84034a768f)
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_open_file_generic(struct inode *inode, struct file *file);
7 extern int mac80211_format_buffer(char __user *userbuf, size_t count,
8 				  loff_t *ppos, char *fmt, ...);
9 #else
10 static inline void debugfs_hw_add(struct ieee80211_local *local)
11 {
12 }
13 #endif
14 
15 #endif /* __MAC80211_DEBUGFS_H */
16