blob: a8a135d94ab5d0f034d4b3c0bbb862ceebb3f6a4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Luis R. Rodriguez1ac61302009-05-02 00:37:21 -04002#ifndef __CFG80211_DEBUGFS_H
3#define __CFG80211_DEBUGFS_H
4
5#ifdef CONFIG_CFG80211_DEBUGFS
Johannes Berg79c97e92009-07-07 03:56:12 +02006void cfg80211_debugfs_rdev_add(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 -040010#endif
11
12#endif /* __CFG80211_DEBUGFS_H */