summaryrefslogtreecommitdiffstats
path: root/kernel/net/wireless/debugfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/wireless/debugfs.h')
-rw-r--r--kernel/net/wireless/debugfs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/net/wireless/debugfs.h b/kernel/net/wireless/debugfs.h
new file mode 100644
index 000000000..74fdd3811
--- /dev/null
+++ b/kernel/net/wireless/debugfs.h
@@ -0,0 +1,11 @@
+#ifndef __CFG80211_DEBUGFS_H
+#define __CFG80211_DEBUGFS_H
+
+#ifdef CONFIG_CFG80211_DEBUGFS
+void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
+#else
+static inline
+void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
+#endif
+
+#endif /* __CFG80211_DEBUGFS_H */