blob: 7af731f0b73113182c54756b53aa3b0b88a37e1d [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);
Jiri Bence9f207f2007-05-05 11:46:38 -07009void ieee80211_debugfs_netdev_init(void);
10void ieee80211_debugfs_netdev_exit(void);
11#else
12static inline void ieee80211_debugfs_add_netdev(
13 struct ieee80211_sub_if_data *sdata)
14{}
15static inline void ieee80211_debugfs_remove_netdev(
16 struct ieee80211_sub_if_data *sdata)
17{}
Jiri Bence9f207f2007-05-05 11:46:38 -070018static inline void ieee80211_debugfs_netdev_init(void)
19{}
20
21static inline void ieee80211_debugfs_netdev_exit(void)
22{}
23#endif
24
25#endif /* __IEEE80211_DEBUGFS_NETDEV_H */