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); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 9 | void ieee80211_debugfs_netdev_init(void); |
| 10 | void ieee80211_debugfs_netdev_exit(void); |
| 11 | #else |
| 12 | static inline void ieee80211_debugfs_add_netdev( |
| 13 | struct ieee80211_sub_if_data *sdata) |
| 14 | {} |
| 15 | static inline void ieee80211_debugfs_remove_netdev( |
| 16 | struct ieee80211_sub_if_data *sdata) |
| 17 | {} |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 18 | static inline void ieee80211_debugfs_netdev_init(void) |
| 19 | {} |
| 20 | |
| 21 | static inline void ieee80211_debugfs_netdev_exit(void) |
| 22 | {} |
| 23 | #endif |
| 24 | |
| 25 | #endif /* __IEEE80211_DEBUGFS_NETDEV_H */ |