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 | |
| 6 | #ifdef CONFIG_MAC80211_DEBUGFS |
| 7 | void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata); |
| 8 | void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata); |
Johannes Berg | 47846c9 | 2009-11-25 17:46:19 +0100 | [diff] [blame] | 9 | void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 10 | #else |
| 11 | static inline void ieee80211_debugfs_add_netdev( |
| 12 | struct ieee80211_sub_if_data *sdata) |
| 13 | {} |
| 14 | static inline void ieee80211_debugfs_remove_netdev( |
| 15 | struct ieee80211_sub_if_data *sdata) |
| 16 | {} |
Johannes Berg | 47846c9 | 2009-11-25 17:46:19 +0100 | [diff] [blame] | 17 | static inline void ieee80211_debugfs_rename_netdev( |
| 18 | struct ieee80211_sub_if_data *sdata) |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 19 | {} |
| 20 | #endif |
| 21 | |
| 22 | #endif /* __IEEE80211_DEBUGFS_NETDEV_H */ |