mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
79c97e97ae
We've named the registered devices 'drv' sometimes, thinking of "driver", which is not what it is, it's the internal representation of a wiphy, i.e. a device. Let's clean up the naming once and and use 'rdev' aka 'registered device' everywhere. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
15 lines
462 B
C
15 lines
462 B
C
#ifndef __CFG80211_DEBUGFS_H
|
|
#define __CFG80211_DEBUGFS_H
|
|
|
|
#ifdef CONFIG_CFG80211_DEBUGFS
|
|
void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
|
|
void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev);
|
|
#else
|
|
static inline
|
|
void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
|
|
static inline
|
|
void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev) {}
|
|
#endif
|
|
|
|
#endif /* __CFG80211_DEBUGFS_H */
|