diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/arlan-proc.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/atmel.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_wx.c | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/arlan-proc.c b/drivers/net/wireless/arlan-proc.c index 5fa985435ffa..015abd928ab0 100644 --- a/drivers/net/wireless/arlan-proc.c +++ b/drivers/net/wireless/arlan-proc.c | |||
@@ -1216,7 +1216,7 @@ static ctl_table arlan_table[MAX_ARLANS + 1] = | |||
1216 | static ctl_table arlan_root_table[] = | 1216 | static ctl_table arlan_root_table[] = |
1217 | { | 1217 | { |
1218 | { | 1218 | { |
1219 | .ctl_name = 254, | 1219 | .ctl_name = CTL_ARLAN, |
1220 | .procname = "arlan", | 1220 | .procname = "arlan", |
1221 | .maxlen = 0, | 1221 | .maxlen = 0, |
1222 | .mode = 0555, | 1222 | .mode = 0555, |
@@ -1244,7 +1244,7 @@ int __init init_arlan_proc(void) | |||
1244 | return 0; | 1244 | return 0; |
1245 | for (i = 0; i < MAX_ARLANS && arlan_device[i]; i++) | 1245 | for (i = 0; i < MAX_ARLANS && arlan_device[i]; i++) |
1246 | arlan_table[i].ctl_name = i + 1; | 1246 | arlan_table[i].ctl_name = i + 1; |
1247 | arlan_device_sysctl_header = register_sysctl_table(arlan_root_table, 0); | 1247 | arlan_device_sysctl_header = register_sysctl_table(arlan_root_table); |
1248 | if (!arlan_device_sysctl_header) | 1248 | if (!arlan_device_sysctl_header) |
1249 | return -1; | 1249 | return -1; |
1250 | 1250 | ||
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 10bcb48e80d0..23eba698aec5 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/init.h> | 42 | #include <linux/init.h> |
43 | 43 | ||
44 | #include <linux/kernel.h> | 44 | #include <linux/kernel.h> |
45 | #include <linux/sched.h> | ||
46 | #include <linux/ptrace.h> | 45 | #include <linux/ptrace.h> |
47 | #include <linux/slab.h> | 46 | #include <linux/slab.h> |
48 | #include <linux/string.h> | 47 | #include <linux/string.h> |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c index 6961be682c9d..7b665e2386a8 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <net/ieee80211softmac.h> | 33 | #include <net/ieee80211softmac.h> |
34 | #include <net/ieee80211softmac_wx.h> | 34 | #include <net/ieee80211softmac_wx.h> |
35 | #include <linux/capability.h> | 35 | #include <linux/capability.h> |
36 | #include <linux/sched.h> /* for capable() */ | ||
37 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
38 | 37 | ||
39 | #include "bcm43xx.h" | 38 | #include "bcm43xx.h" |