Export will be added in linux-3.2, for older kernel versions the stuff is in linux/module.h. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- include/linux/export.h | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 include/linux/export.h diff --git a/include/linux/export.h b/include/linux/export.h new file mode 100644 index 0000000..f7842b7 --- /dev/null +++ b/include/linux/export.h @@ -0,0 +1,12 @@ +#ifndef _COMPAT_LINUX_EXPORT_H +#define _COMPAT_LINUX_EXPORT_H 1 + +#include <linux/version.h> + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include_next <linux/export.h> +#else +#include <linux/module.h> +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) */ + +#endif /* _COMPAT_LINUX_EXPORT_H */ -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html