blob: 60c35afee29d551727a2969b25b84998ca5501c4 [file] [log] [blame]
Jiri Bence9f207f2007-05-05 11:46:38 -07001#ifndef __MAC80211_DEBUGFS_H
2#define __MAC80211_DEBUGFS_H
3
Zhao, Gangaa511422014-04-09 09:28:09 +08004#include "ieee80211_i.h"
5
Jiri Bence9f207f2007-05-05 11:46:38 -07006#ifdef CONFIG_MAC80211_DEBUGFS
Johannes Berg8c1dddd2012-09-30 17:12:45 +02007void debugfs_hw_add(struct ieee80211_local *local);
8int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
9 loff_t *ppos, char *fmt, ...);
Jiri Bence9f207f2007-05-05 11:46:38 -070010#else
11static inline void debugfs_hw_add(struct ieee80211_local *local)
12{
Jiri Bence9f207f2007-05-05 11:46:38 -070013}
Jiri Bence9f207f2007-05-05 11:46:38 -070014#endif
15
16#endif /* __MAC80211_DEBUGFS_H */