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); |
| 7 | #else |
| 8 | static inline void debugfs_hw_add(struct ieee80211_local *local) |
| 9 | { |
| 10 | return; |
| 11 | } |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 12 | #endif |
| 13 | |
| 14 | #endif /* __MAC80211_DEBUGFS_H */ |