blob: 79025e79f4d6459dd99de5ad496e351e123f53b7 [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
6#ifdef CONFIG_MAC80211_DEBUGFS
7void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
8void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
Johannes Berg47846c92009-11-25 17:46:19 +01009void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
Jiri Bence9f207f2007-05-05 11:46:38 -070010#else
11static inline void ieee80211_debugfs_add_netdev(
12 struct ieee80211_sub_if_data *sdata)
13{}
14static inline void ieee80211_debugfs_remove_netdev(
15 struct ieee80211_sub_if_data *sdata)
16{}
Johannes Berg47846c92009-11-25 17:46:19 +010017static inline void ieee80211_debugfs_rename_netdev(
18 struct ieee80211_sub_if_data *sdata)
Jiri Bence9f207f2007-05-05 11:46:38 -070019{}
20#endif
21
22#endif /* __IEEE80211_DEBUGFS_NETDEV_H */