From: Hauke Mehrtens Date: Fri, 27 Aug 2010 18:40:49 +0000 (-0700) Subject: compat-wireless: remove linux/gpio.h include X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bcdf7c8da1937bbfd34679f16023151fc85db18c;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: remove linux/gpio.h include 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 --- diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch index e0846f5995fa..17c44652fc47 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 + #include + + #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 #include #include @@ -30,7 +40,7 @@ cases. #include --- 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 #include #include @@ -40,6 +50,16 @@ cases. #include #include +--- a/drivers/net/wireless/wl12xx/wl1271_boot.c ++++ b/drivers/net/wireless/wl12xx/wl1271_boot.c +@@ -21,7 +21,6 @@ + * + */ + +-#include + #include + + #include "wl1271_acx.h" --- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -22,6 +22,9 @@