1 --- a/drivers/net/wireless/ath/ath5k/base.h
2 +++ b/drivers/net/wireless/ath/ath5k/base.h
4 #include <linux/wireless.h>
5 #include <linux/if_ether.h>
6 #include <linux/leds.h>
7 -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31))
9 #include <linux/rfkill.h>
11 #include <linux/rfkill_backport.h>
12 --- a/net/wireless/core.h
13 +++ b/net/wireless/core.h
15 #include <linux/kref.h>
16 #include <linux/rbtree.h>
17 #include <linux/debugfs.h>
18 -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31))
20 #include <linux/rfkill.h>
22 #include <linux/rfkill_backport.h>
23 --- a/include/linux/rfkill_backport.h
24 +++ b/include/linux/rfkill_backport.h
25 @@ -146,7 +146,7 @@ struct rfkill_ops {
26 int (*set_block)(void *data, bool blocked);
29 -#if defined(CONFIG_RFKILL_BACKPORT) || defined(CONFIG_RFKILL_MODULE_BACKPORT)
32 * rfkill_alloc - allocate rfkill structure
33 * @name: name of the struct -- the string is not copied internally