Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 1 | #ifndef __MAC80211_DEBUGFS_H |
| 2 | #define __MAC80211_DEBUGFS_H |
| 3 | |
Zhao, Gang | aa51142 | 2014-04-09 09:28:09 +0800 | [diff] [blame] | 4 | #include "ieee80211_i.h" |
| 5 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 6 | #ifdef CONFIG_MAC80211_DEBUGFS |
Johannes Berg | 8c1dddd | 2012-09-30 17:12:45 +0200 | [diff] [blame] | 7 | void debugfs_hw_add(struct ieee80211_local *local); |
| 8 | int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, |
| 9 | loff_t *ppos, char *fmt, ...); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 10 | #else |
| 11 | static inline void debugfs_hw_add(struct ieee80211_local *local) |
| 12 | { |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 13 | } |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 14 | #endif |
| 15 | |
| 16 | #endif /* __MAC80211_DEBUGFS_H */ |