Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 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); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 6 | extern int mac80211_open_file_generic(struct inode *inode, struct file *file); |
Eliad Peller | 07caf9d | 2010-10-27 14:58:29 +0200 | [diff] [blame] | 7 | extern int mac80211_format_buffer(char __user *userbuf, size_t count, |
| 8 | loff_t *ppos, char *fmt, ...); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 9 | #else |
| 10 | static inline void debugfs_hw_add(struct ieee80211_local *local) |
| 11 | { |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 12 | } |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 13 | #endif |
| 14 | |
| 15 | #endif /* __MAC80211_DEBUGFS_H */ |