blob: d2c424787463757c7f16fbc44767f660f6b1c71b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jiri Bence9f207f2007-05-05 11:46:38 -07002#ifndef __MAC80211_DEBUGFS_H
3#define __MAC80211_DEBUGFS_H
4
Zhao, Gangaa511422014-04-09 09:28:09 +08005#include "ieee80211_i.h"
6
Jiri Bence9f207f2007-05-05 11:46:38 -07007#ifdef CONFIG_MAC80211_DEBUGFS
Johannes Berg8c1dddd2012-09-30 17:12:45 +02008void debugfs_hw_add(struct ieee80211_local *local);
9int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
10 loff_t *ppos, char *fmt, ...);
Jiri Bence9f207f2007-05-05 11:46:38 -070011#else
12static inline void debugfs_hw_add(struct ieee80211_local *local)
13{
Jiri Bence9f207f2007-05-05 11:46:38 -070014}
Jiri Bence9f207f2007-05-05 11:46:38 -070015#endif
16
17#endif /* __MAC80211_DEBUGFS_H */