mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
aa51142fc5
Some header files in mac80211 don't include all the header files they require, fix that. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
25 lines
732 B
C
25 lines
732 B
C
/* routines exported for debugfs handling */
|
|
|
|
#ifndef __IEEE80211_DEBUGFS_NETDEV_H
|
|
#define __IEEE80211_DEBUGFS_NETDEV_H
|
|
|
|
#include "ieee80211_i.h"
|
|
|
|
#ifdef CONFIG_MAC80211_DEBUGFS
|
|
void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
|
|
void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
|
|
void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
|
|
#else
|
|
static inline void ieee80211_debugfs_add_netdev(
|
|
struct ieee80211_sub_if_data *sdata)
|
|
{}
|
|
static inline void ieee80211_debugfs_remove_netdev(
|
|
struct ieee80211_sub_if_data *sdata)
|
|
{}
|
|
static inline void ieee80211_debugfs_rename_netdev(
|
|
struct ieee80211_sub_if_data *sdata)
|
|
{}
|
|
#endif
|
|
|
|
#endif /* __IEEE80211_DEBUGFS_NETDEV_H */
|