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