blob: 9f5501a9a79506266decdb83d0ad78c9d6e9bdf9 [file] [log] [blame]
Jiri Bence9f207f2007-05-05 11:46:38 -07001/* routines exported for debugfs handling */
2
3#ifndef __IEEE80211_DEBUGFS_NETDEV_H
4#define __IEEE80211_DEBUGFS_NETDEV_H
5
Zhao, Gangaa511422014-04-09 09:28:09 +08006#include "ieee80211_i.h"
7
Jiri Bence9f207f2007-05-05 11:46:38 -07008#ifdef CONFIG_MAC80211_DEBUGFS
9void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
10void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
Johannes Berg47846c92009-11-25 17:46:19 +010011void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
Jiri Bence9f207f2007-05-05 11:46:38 -070012#else
13static inline void ieee80211_debugfs_add_netdev(
14 struct ieee80211_sub_if_data *sdata)
15{}
16static inline void ieee80211_debugfs_remove_netdev(
17 struct ieee80211_sub_if_data *sdata)
18{}
Johannes Berg47846c92009-11-25 17:46:19 +010019static inline void ieee80211_debugfs_rename_netdev(
20 struct ieee80211_sub_if_data *sdata)
Jiri Bence9f207f2007-05-05 11:46:38 -070021{}
22#endif
23
24#endif /* __IEEE80211_DEBUGFS_NETDEV_H */