]> git.ipfire.org Git - people/arne_f/kernel.git/blame - net/mac80211/debugfs.h
iio:adc:ti-adc084s021 Fix alignment and data leak issues.
[people/arne_f/kernel.git] / net / mac80211 / debugfs.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
e9f207f0
JB
2#ifndef __MAC80211_DEBUGFS_H
3#define __MAC80211_DEBUGFS_H
4
aa51142f
ZG
5#include "ieee80211_i.h"
6
e9f207f0 7#ifdef CONFIG_MAC80211_DEBUGFS
8c1dddd6
JB
8void 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, ...);
e9f207f0
JB
11#else
12static inline void debugfs_hw_add(struct ieee80211_local *local)
13{
e9f207f0 14}
e9f207f0
JB
15#endif
16
17#endif /* __MAC80211_DEBUGFS_H */