x86: fix MP_processor_info section mismatch warning
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / mac80211 / debugfs_key.h
1 #ifndef __MAC80211_DEBUGFS_KEY_H
2 #define __MAC80211_DEBUGFS_KEY_H
3
4 #ifdef CONFIG_MAC80211_DEBUGFS
5 void ieee80211_debugfs_key_add(struct ieee80211_key *key);
6 void ieee80211_debugfs_key_remove(struct ieee80211_key *key);
7 void ieee80211_debugfs_key_add_default(struct ieee80211_sub_if_data *sdata);
8 void ieee80211_debugfs_key_remove_default(struct ieee80211_sub_if_data *sdata);
9 void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
10 struct sta_info *sta);
11 #else
12 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key)
13 {}
14 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
15 {}
16 static inline void ieee80211_debugfs_key_add_default(
17 struct ieee80211_sub_if_data *sdata)
18 {}
19 static inline void ieee80211_debugfs_key_remove_default(
20 struct ieee80211_sub_if_data *sdata)
21 {}
22 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
23 struct sta_info *sta)
24 {}
25 #endif
26
27 #endif /* __MAC80211_DEBUGFS_KEY_H */