Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 2 | #ifndef __MAC80211_DEBUGFS_H |
| 3 | #define __MAC80211_DEBUGFS_H |
| 4 | |
Zhao, Gang | aa51142 | 2014-04-09 09:28:09 +0800 | [diff] [blame] | 5 | #include "ieee80211_i.h" |
| 6 | |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 7 | #ifdef CONFIG_MAC80211_DEBUGFS |
Johannes Berg | 8c1dddd | 2012-09-30 17:12:45 +0200 | [diff] [blame] | 8 | void debugfs_hw_add(struct ieee80211_local *local); |
| 9 | int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, |
| 10 | loff_t *ppos, char *fmt, ...); |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 11 | #else |
| 12 | static inline void debugfs_hw_add(struct ieee80211_local *local) |
| 13 | { |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 14 | } |
Jiri Benc | e9f207f | 2007-05-05 11:46:38 -0700 | [diff] [blame] | 15 | #endif |
| 16 | |
| 17 | #endif /* __MAC80211_DEBUGFS_H */ |