summaryrefslogtreecommitdiff
path: root/mac80211.h
blob: bae28b1a982af63dd5f512567a5a2efd1f4cfc93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MAC80211_H
#define MAC80211_H

#include "config.h"
#include "die.h"

#ifdef HAVE_LIBNL
extern void enter_rfmon_mac80211(const char *device, char **mondev);
extern void leave_rfmon_mac80211(const char *mondev);
#else
static inline void enter_rfmon_mac80211(const char *device, char **mondev)
{
    panic("No built-in libnl support!\n");
}

static inline void leave_rfmon_mac80211(const char *mondev)
{
}
#endif /* HAVE_LIBNL */

#endif /* MAC80211_H */
>Paul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:12 -0400 commitb9e15bafdf1aa20791cdefdcbf1ccf7d7aa03aaa (patch) tree459af0df6234a50b43b87078fd252941e231cbc3 /mm/bootmem.c parente25934a51772f47edd94d7b7d08b0e167769639c (diff)
mm: Add export.h for EXPORT_SYMBOL to active symbol exporters
These files were getting <linux/module.h> via an implicit include path, but we want to crush those out of existence since they cost time during compiles of processing thousands of lines of headers for no reason. Give them the lightweight header that just contains the EXPORT_SYMBOL infrastructure. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'mm/bootmem.c')