blob: a7e9d8d518f9724bf48dfd5e594a7afe3840ec28 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jiri Bence9f207f2007-05-05 11:46:38 -07002/* routines exported for debugfs handling */
3
4#ifndef __IEEE80211_DEBUGFS_NETDEV_H
5#define __IEEE80211_DEBUGFS_NETDEV_H
6
Zhao, Gangaa511422014-04-09 09:28:09 +08007#include "ieee80211_i.h"
8
Jiri Bence9f207f2007-05-05 11:46:38 -07009#ifdef CONFIG_MAC80211_DEBUGFS
10void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
11void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
Johannes Berg47846c92009-11-25 17:46:19 +010012void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
Jiri Bence9f207f2007-05-05 11:46:38 -070013#else
14static inline void ieee80211_debugfs_add_netdev(
15 struct ieee80211_sub_if_data *sdata)
16{}
17static inline void ieee80211_debugfs_remove_netdev(
18 struct ieee80211_sub_if_data *sdata)
19{}
Johannes Berg47846c92009-11-25 17:46:19 +010020static inline void ieee80211_debugfs_rename_netdev(
21 struct ieee80211_sub_if_data *sdata)
Jiri Bence9f207f2007-05-05 11:46:38 -070022{}
23#endif
24
25#endif /* __IEEE80211_DEBUGFS_NETDEV_H */