License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / net / mac80211 / debugfs_netdev.h
bloba7e9d8d518f9724bf48dfd5e594a7afe3840ec28
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* routines exported for debugfs handling */
4 #ifndef __IEEE80211_DEBUGFS_NETDEV_H
5 #define __IEEE80211_DEBUGFS_NETDEV_H
7 #include "ieee80211_i.h"
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)
17 static inline void ieee80211_debugfs_remove_netdev(
18 struct ieee80211_sub_if_data *sdata)
20 static inline void ieee80211_debugfs_rename_netdev(
21 struct ieee80211_sub_if_data *sdata)
23 #endif
25 #endif /* __IEEE80211_DEBUGFS_NETDEV_H */