Linux Audio

Check our new training course

Loading...
v4.10.11
 
 1#ifndef __MAC80211_DEBUGFS_STA_H
 2#define __MAC80211_DEBUGFS_STA_H
 3
 4#include "sta_info.h"
 5
 6#ifdef CONFIG_MAC80211_DEBUGFS
 7void ieee80211_sta_debugfs_add(struct sta_info *sta);
 8void ieee80211_sta_debugfs_remove(struct sta_info *sta);
 9#else
10static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
11static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
12#endif
13
14#endif /* __MAC80211_DEBUGFS_STA_H */
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __MAC80211_DEBUGFS_STA_H
 3#define __MAC80211_DEBUGFS_STA_H
 4
 5#include "sta_info.h"
 6
 7#ifdef CONFIG_MAC80211_DEBUGFS
 8void ieee80211_sta_debugfs_add(struct sta_info *sta);
 9void ieee80211_sta_debugfs_remove(struct sta_info *sta);
10#else
11static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
12static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
13#endif
14
15#endif /* __MAC80211_DEBUGFS_STA_H */