1 commit b7d48ccc687c44213121b1b565dccdc4488f5d9a
2 Author: Pavel Roskin <proski@gnu.org>
3 Date: Wed Mar 24 17:23:37 2010 -0400
5 compat: add compat-2.6.35.h and IW_HANDLER
7 Signed-off-by: Pavel Roskin <proski@gnu.org>
10 +++ b/include/linux/compat-2.6.35.h
12 +#ifndef LINUX_26_35_COMPAT_H
13 +#define LINUX_26_35_COMPAT_H
15 +#include <linux/version.h>
17 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))
19 +#define IW_HANDLER(id, func) \
20 + [IW_IOCTL_IDX(id)] = func
22 +#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) */
24 +#endif /* LINUX_26_35_COMPAT_H */
25 --- a/include/linux/compat-2.6.h
26 +++ b/include/linux/compat-2.6.h
28 #include <linux/compat-2.6.32.h>
29 #include <linux/compat-2.6.33.h>
30 #include <linux/compat-2.6.34.h>
31 +#include <linux/compat-2.6.35.h>
33 #endif /* LINUX_26_COMPAT_H */