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 | #ifndef __MAC80211_DEBUGFS_STA_H |
| 3 | #define __MAC80211_DEBUGFS_STA_H |
| 4 | |
Johannes Berg | d0709a6 | 2008-02-25 16:27:46 +0100 | [diff] [blame] | 5 | #include "sta_info.h" |
| 6 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 7 | #ifdef CONFIG_MAC80211_DEBUGFS |
| 8 | void ieee80211_sta_debugfs_add(struct sta_info *sta); |
| 9 | void ieee80211_sta_debugfs_remove(struct sta_info *sta); |
| 10 | #else |
| 11 | static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {} |
| 12 | static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {} |
| 13 | #endif |
| 14 | |
| 15 | #endif /* __MAC80211_DEBUGFS_STA_H */ |