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