summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs.h
blob: dd2541935c27363fabbe98b20554ab05edde6fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __MAC80211_DEBUGFS_H
#define __MAC80211_DEBUGFS_H

#ifdef CONFIG_MAC80211_DEBUGFS
extern void debugfs_hw_add(struct ieee80211_local *local);
extern void debugfs_hw_del(struct ieee80211_local *local);
extern int mac80211_open_file_generic(struct inode *inode, struct file *file);
#else
static inline void debugfs_hw_add(struct ieee80211_local *local)
{
	return;
}
static inline void debugfs_hw_del(struct ieee80211_local *local) {}
#endif

#endif /* __MAC80211_DEBUGFS_H */
OpenPOWER on IntegriCloud