]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - net/wireless/debugfs.h
cfg80211: decouple regulatory variables from cfg80211_mutex
[mirror_ubuntu-bionic-kernel.git] / net / wireless / debugfs.h
CommitLineData
1ac61302
LR
1#ifndef __CFG80211_DEBUGFS_H
2#define __CFG80211_DEBUGFS_H
3
4#ifdef CONFIG_CFG80211_DEBUGFS
79c97e97
JB
5void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
6void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev);
1ac61302
LR
7#else
8static inline
79c97e97 9void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
1ac61302 10static inline
79c97e97 11void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev) {}
1ac61302
LR
12#endif
13
14#endif /* __CFG80211_DEBUGFS_H */