debugfs.h 440 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __MAC80211_DEBUGFS_H
  3. #define __MAC80211_DEBUGFS_H
  4. #include "ieee80211_i.h"
  5. #ifdef CONFIG_MAC80211_DEBUGFS
  6. void debugfs_hw_add(struct ieee80211_local *local);
  7. int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
  8. loff_t *ppos, char *fmt, ...);
  9. #else
  10. static inline void debugfs_hw_add(struct ieee80211_local *local)
  11. {
  12. }
  13. #endif
  14. #endif /* __MAC80211_DEBUGFS_H */