From 5ce0a53fb0b93229afd64499cc27dea2cb0d68bd Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 Aug 2009 13:35:33 -0700 Subject: [PATCH] Move wl12xx changes to 07-header-changes.patch Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 24 ------------------------ compat/diffs/07-header-changes.patch | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/compat/compat.diff b/compat/compat.diff index 70f9800d4aca..3c5c1b866012 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -47,30 +47,6 @@ +cfg80211-y += compat-2.6.31.o +cfg80211-y += compat-2.6.32.o + ---- a/drivers/net/wireless/wl12xx/wl1251_main.c -+++ b/drivers/net/wireless/wl12xx/wl1251_main.c -@@ -26,6 +26,9 @@ - #include - #include - #include -+#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) -+#include -+#endif - #include - #include - #include ---- a/drivers/net/wireless/wl12xx/wl1251_spi.c -+++ b/drivers/net/wireless/wl12xx/wl1251_spi.c -@@ -23,6 +23,9 @@ - - #include - #include -+#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) -+#include -+#endif - #include - - #include "wl1251.h" --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -23,6 +23,7 @@ diff --git a/compat/diffs/07-header-changes.patch b/compat/diffs/07-header-changes.patch index 60e33c6457ad..b8d020bdb454 100644 --- a/compat/diffs/07-header-changes.patch +++ b/compat/diffs/07-header-changes.patch @@ -10,3 +10,27 @@ struct b43_wldev; +--- a/drivers/net/wireless/wl12xx/wl1251_main.c ++++ b/drivers/net/wireless/wl12xx/wl1251_main.c +@@ -26,6 +26,9 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + #include + #include + #include +--- a/drivers/net/wireless/wl12xx/wl1251_spi.c ++++ b/drivers/net/wireless/wl12xx/wl1251_spi.c +@@ -23,6 +23,9 @@ + + #include + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + #include + + #include "wl1251.h" -- 2.30.2