From 5fd5ec290fba948c49b1fc4a4f715c530a3c6cfb Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 Aug 2009 13:17:53 -0700 Subject: [PATCH] Move b43 header changes to 07-header-changes.patch Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 12 ------------ compat/diffs/07-header-changes.patch | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 compat/diffs/07-header-changes.patch diff --git a/compat/compat.diff b/compat/compat.diff index 7b7a88c3c000..70f9800d4aca 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -47,18 +47,6 @@ +cfg80211-y += compat-2.6.31.o +cfg80211-y += compat-2.6.32.o + ---- a/drivers/net/wireless/b43/phy_common.h -+++ b/drivers/net/wireless/b43/phy_common.h -@@ -2,6 +2,9 @@ - #define LINUX_B43_PHY_COMMON_H_ - - #include -+#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) -+#include -+#endif - - struct b43_wldev; - --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c @@ -26,6 +26,9 @@ diff --git a/compat/diffs/07-header-changes.patch b/compat/diffs/07-header-changes.patch new file mode 100644 index 000000000000..60e33c6457ad --- /dev/null +++ b/compat/diffs/07-header-changes.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/b43/phy_common.h ++++ b/drivers/net/wireless/b43/phy_common.h +@@ -2,6 +2,9 @@ + #define LINUX_B43_PHY_COMMON_H_ + + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + + struct b43_wldev; + -- 2.30.2