rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* routines exported for debugfs handling */ |
| 3 | |
| 4 | #ifndef __IEEE80211_DEBUGFS_NETDEV_H |
| 5 | #define __IEEE80211_DEBUGFS_NETDEV_H |
| 6 | |
| 7 | #include "ieee80211_i.h" |
| 8 | |
| 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); |
| 12 | void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata); |
| 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 | {} |
| 20 | static inline void ieee80211_debugfs_rename_netdev( |
| 21 | struct ieee80211_sub_if_data *sdata) |
| 22 | {} |
| 23 | #endif |
| 24 | |
| 25 | #endif /* __IEEE80211_DEBUGFS_NETDEV_H */ |