cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

debugfs_netdev.h (771B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/* routines exported for debugfs handling */
      3
      4#ifndef __IEEE80211_DEBUGFS_NETDEV_H
      5#define __IEEE80211_DEBUGFS_NETDEV_H
      6
      7#include "ieee80211_i.h"
      8
      9#ifdef CONFIG_MAC80211_DEBUGFS
     10void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
     11void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
     12void ieee80211_debugfs_rename_netdev(struct ieee80211_sub_if_data *sdata);
     13#else
     14static inline void ieee80211_debugfs_add_netdev(
     15	struct ieee80211_sub_if_data *sdata)
     16{}
     17static inline void ieee80211_debugfs_remove_netdev(
     18	struct ieee80211_sub_if_data *sdata)
     19{}
     20static inline void ieee80211_debugfs_rename_netdev(
     21	struct ieee80211_sub_if_data *sdata)
     22{}
     23#endif
     24
     25#endif /* __IEEE80211_DEBUGFS_NETDEV_H */