18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __MAC80211_DEBUGFS_H 38c2ecf20Sopenharmony_ci#define __MAC80211_DEBUGFS_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include "ieee80211_i.h" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifdef CONFIG_MAC80211_DEBUGFS 88c2ecf20Sopenharmony_civoid debugfs_hw_add(struct ieee80211_local *local); 98c2ecf20Sopenharmony_ciint __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, 108c2ecf20Sopenharmony_ci loff_t *ppos, char *fmt, ...); 118c2ecf20Sopenharmony_ci#else 128c2ecf20Sopenharmony_cistatic inline void debugfs_hw_add(struct ieee80211_local *local) 138c2ecf20Sopenharmony_ci{ 148c2ecf20Sopenharmony_ci} 158c2ecf20Sopenharmony_ci#endif 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* __MAC80211_DEBUGFS_H */ 18