Blame view

net/wireless/debugfs.h 339 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1ac61302d   Luis R. Rodriguez   mac80211/cfg80211...
2
3
4
5
  #ifndef __CFG80211_DEBUGFS_H
  #define __CFG80211_DEBUGFS_H
  
  #ifdef CONFIG_CFG80211_DEBUGFS
79c97e97a   Johannes Berg   cfg80211: clean u...
6
  void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev);
1ac61302d   Luis R. Rodriguez   mac80211/cfg80211...
7
8
  #else
  static inline
79c97e97a   Johannes Berg   cfg80211: clean u...
9
  void cfg80211_debugfs_rdev_add(struct cfg80211_registered_device *rdev) {}
1ac61302d   Luis R. Rodriguez   mac80211/cfg80211...
10
11
12
  #endif
  
  #endif /* __CFG80211_DEBUGFS_H */