compat-wireless: remove linux/gpio.h include
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 27 Aug 2010 18:40:49 +0000 (11:40 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 28 Aug 2010 20:27:59 +0000 (13:27 -0700)
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@hauke-m.de>
patches/06-header-changes.patch

index e0846f5995face8d7d37ee3cf888c3b7c88c87d1..17c44652fc472d29c85ff9d59b1281c5add5d3b4 100644 (file)
@@ -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 @@