Search Linux Wireless

[PATCH 3/7] compat-wireless: remove linux/gpio.h include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kernel 2.6.24 does not have this header file. No method provided by
gpio.h is used in wl12*1_boot.c so this include looks unneeded to me.
This should probably also go into mainline.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/06-header-changes.patch |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch
index e0846f5..17c4465 100644
--- a/patches/06-header-changes.patch
+++ b/patches/06-header-changes.patch
@@ -16,9 +16,19 @@ cases.
  
  struct b43_wldev;
  
+--- a/drivers/net/wireless/wl12xx/wl1251_boot.c
++++ b/drivers/net/wireless/wl12xx/wl1251_boot.c
+@@ -19,7 +19,6 @@
+  *
+  */
+ 
+-#include <linux/gpio.h>
+ #include <linux/slab.h>
+ 
+ #include "wl1251_reg.h"
 --- a/drivers/net/wireless/wl12xx/wl1251_main.c
 +++ b/drivers/net/wireless/wl12xx/wl1251_main.c
-@@ -26,6 +26,9 @@
+@@ -24,6 +24,9 @@
  #include <linux/firmware.h>
  #include <linux/delay.h>
  #include <linux/irq.h>
@@ -30,7 +40,7 @@ cases.
  #include <linux/vmalloc.h>
 --- a/drivers/net/wireless/wl12xx/wl1251_spi.c
 +++ b/drivers/net/wireless/wl12xx/wl1251_spi.c
-@@ -25,6 +25,9 @@
+@@ -23,6 +23,9 @@
  #include <linux/module.h>
  #include <linux/slab.h>
  #include <linux/crc7.h>
@@ -40,6 +50,16 @@ cases.
  #include <linux/spi/spi.h>
  #include <linux/spi/wl12xx.h>
  
+--- a/drivers/net/wireless/wl12xx/wl1271_boot.c
++++ b/drivers/net/wireless/wl12xx/wl1271_boot.c
+@@ -21,7 +21,6 @@
+  *
+  */
+ 
+-#include <linux/gpio.h>
+ #include <linux/slab.h>
+ 
+ #include "wl1271_acx.h"
 --- a/net/mac80211/key.c
 +++ b/net/mac80211/key.c
 @@ -22,6 +22,9 @@
-- 
1.7.0.4

--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux