x86_64: make /proc/interrupts work with dyn irq_desc
[deliverable/linux.git] / net / mac80211 / debugfs_key.h
CommitLineData
e9f207f0
JB
1#ifndef __MAC80211_DEBUGFS_KEY_H
2#define __MAC80211_DEBUGFS_KEY_H
3
4#ifdef CONFIG_MAC80211_DEBUGFS
3b96766f 5void ieee80211_debugfs_key_add(struct ieee80211_key *key);
e9f207f0
JB
6void ieee80211_debugfs_key_remove(struct ieee80211_key *key);
7void ieee80211_debugfs_key_add_default(struct ieee80211_sub_if_data *sdata);
8void ieee80211_debugfs_key_remove_default(struct ieee80211_sub_if_data *sdata);
e9f207f0
JB
9void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
10 struct sta_info *sta);
11#else
3b96766f 12static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key)
e9f207f0
JB
13{}
14static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
15{}
16static inline void ieee80211_debugfs_key_add_default(
17 struct ieee80211_sub_if_data *sdata)
18{}
19static inline void ieee80211_debugfs_key_remove_default(
20 struct ieee80211_sub_if_data *sdata)
21{}
e9f207f0
JB
22static 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 */
This page took 0.155677 seconds and 5 git commands to generate.