Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 2 | #ifndef __CFG80211_DEBUGFS_H |
| 3 | #define __CFG80211_DEBUGFS_H |
| 4 | |
| 5 | #ifdef CONFIG_CFG80211_DEBUGFS |
Johannes Berg | 79c97e9 | 2009-07-07 03:56:12 +0200 | [diff] [blame] | 6 | void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev); |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 7 | #else |
| 8 | static inline |
Johannes Berg | 79c97e9 | 2009-07-07 03:56:12 +0200 | [diff] [blame] | 9 | void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {} |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 10 | #endif |
| 11 | |
| 12 | #endif /* __CFG80211_DEBUGFS_H */ |