1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e9f207f0SJiri Benc #ifndef __MAC80211_DEBUGFS_H 3e9f207f0SJiri Benc #define __MAC80211_DEBUGFS_H 4e9f207f0SJiri Benc 5aa51142fSZhao, Gang #include "ieee80211_i.h" 6aa51142fSZhao, Gang 7e9f207f0SJiri Benc #ifdef CONFIG_MAC80211_DEBUGFS 88c1dddd6SJohannes Berg void debugfs_hw_add(struct ieee80211_local *local); 98c1dddd6SJohannes Berg int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, 1007caf9d6SEliad Peller loff_t *ppos, char *fmt, ...); 11e9f207f0SJiri Benc #else debugfs_hw_add(struct ieee80211_local * local)12e9f207f0SJiri Bencstatic inline void debugfs_hw_add(struct ieee80211_local *local) 13e9f207f0SJiri Benc { 14e9f207f0SJiri Benc } 15e9f207f0SJiri Benc #endif 16e9f207f0SJiri Benc 17e9f207f0SJiri Benc #endif /* __MAC80211_DEBUGFS_H */ 18