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