summaryrefslogtreecommitdiff
path: root/backport-include/linux/export.h
blob: a3c7799acdea6f21bb0d4f54359ceae7031c966b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _COMPAT_LINUX_EXPORT_H
#define _COMPAT_LINUX_EXPORT_H 1

#include <linux/version.h>

#if LINUX_VERSION_IS_GEQ(3,1,0)
#include_next <linux/export.h>
#else
#ifndef pr_fmt
#define backport_undef_pr_fmt
#endif
#include <linux/module.h>
#ifdef backport_undef_pr_fmt
#undef pr_fmt
#undef backport_undef_pr_fmt
#endif
#endif /* LINUX_VERSION_IS_GEQ(3,1,0) */

#endif	/* _COMPAT_LINUX_EXPORT_H */