Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 1 | /* routines exported for debugfs handling */ |
| 2 | |
| 3 | #ifndef __IEEE80211_DEBUGFS_NETDEV_H |
| 4 | #define __IEEE80211_DEBUGFS_NETDEV_H |
| 5 | |
Zhao, Gang | aa51142 | 2014-04-09 09:28:09 +0800 | [diff] [blame] | 6 | #include "ieee80211_i.h" |
| 7 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 8 | #ifdef CONFIG_MAC80211_DEBUGFS |
| 9 | void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata); |
| 10 | void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata); |
Johannes Berg | 47846c9 | 2009-11-25 17:46:19 +0100 | [diff] [blame] | 11 | void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 12 | #else |
| 13 | static inline void ieee80211_debugfs_add_netdev( |
| 14 | struct ieee80211_sub_if_data *sdata) |
| 15 | {} |
| 16 | static inline void ieee80211_debugfs_remove_netdev( |
| 17 | struct ieee80211_sub_if_data *sdata) |
| 18 | {} |
Johannes Berg | 47846c9 | 2009-11-25 17:46:19 +0100 | [diff] [blame] | 19 | static inline void ieee80211_debugfs_rename_netdev( |
| 20 | struct ieee80211_sub_if_data *sdata) |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 21 | {} |
| 22 | #endif |
| 23 | |
| 24 | #endif /* __IEEE80211_DEBUGFS_NETDEV_H */ |