blob: 6419b6d6ce3ecfcbc0c7bcbad39908034e7452e2 [file] [log] [blame]
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -04001#ifndef __CFG80211_DEBUGFS_H
2#define __CFG80211_DEBUGFS_H
3
4#ifdef CONFIG_CFG80211_DEBUGFS
Johannes Berg79c97e92009-07-07 03:56:12 +02005void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
6void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev);
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -04007#else
8static inline
Johannes Berg79c97e92009-07-07 03:56:12 +02009void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -040010static inline
Johannes Berg79c97e92009-07-07 03:56:12 +020011void cfg80211_debugfs_rdev_del(struct cfg80211_registered_device *rdev) {}
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -040012#endif
13
14#endif /* __CFG80211_DEBUGFS_H */