Merge tag 'v3.16-rc4' into drm-intel-next-queued
[sfrench/cifs-2.6.git] / net / mac80211 / debugfs_netdev.h
1 /* routines exported for debugfs handling */
2
3 #ifndef __IEEE80211_DEBUGFS_NETDEV_H
4 #define __IEEE80211_DEBUGFS_NETDEV_H
5
6 #include "ieee80211_i.h"
7
8 #ifdef CONFIG_MAC80211_DEBUGFS
9 void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
10 void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
11 void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
12 #else
13 static inline void ieee80211_debugfs_add_netdev(
14         struct ieee80211_sub_if_data *sdata)
15 {}
16 static inline void ieee80211_debugfs_remove_netdev(
17         struct ieee80211_sub_if_data *sdata)
18 {}
19 static inline void ieee80211_debugfs_rename_netdev(
20         struct ieee80211_sub_if_data *sdata)
21 {}
22 #endif
23
24 #endif /* __IEEE80211_DEBUGFS_NETDEV_H */