xref: /OK3568_Linux_fs/kernel/net/wireless/debugfs.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef __CFG80211_DEBUGFS_H
3*4882a593Smuzhiyun #define __CFG80211_DEBUGFS_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #ifdef CONFIG_CFG80211_DEBUGFS
6*4882a593Smuzhiyun void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
7*4882a593Smuzhiyun #else
8*4882a593Smuzhiyun static inline
cfg80211_debugfs_rdev_add(struct cfg80211_registered_device * rdev)9*4882a593Smuzhiyun void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
10*4882a593Smuzhiyun #endif
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #endif /* __CFG80211_DEBUGFS_H */
13