From c5bdfb6fe31f609b49b0b571483697fc3ecdf9d5 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 Aug 2009 11:16:17 -0700 Subject: [PATCH] move net/wireless/core.h changes to 03-rfkill.patch Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 14 -------------- compat/diffs/03-rfkill.patch | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/compat/compat.diff b/compat/compat.diff index befb8c5cfc4b..7352b1f30250 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -438,20 +438,6 @@ return ops; } ---- a/net/wireless/core.h 2009-07-07 13:32:53.367707921 -0700 -+++ b/net/wireless/core.h 2009-07-07 13:32:53.943703622 -0700 -@@ -11,7 +11,11 @@ - #include - #include - #include -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) - #include -+#else -+#include -+#endif - #include - #include - #include --- a/drivers/net/wireless/Makefile 2009-07-06 12:53:07.479194884 -0700 +++ b/drivers/net/wireless/Makefile 2009-07-06 12:54:42.026195576 -0700 @@ -5,43 +5,16 @@ diff --git a/compat/diffs/03-rfkill.patch b/compat/diffs/03-rfkill.patch index c6ffa863e942..24352e8d31f8 100644 --- a/compat/diffs/03-rfkill.patch +++ b/compat/diffs/03-rfkill.patch @@ -161,6 +161,20 @@ /** * rfkill_alloc - allocate rfkill structure * @name: name of the struct -- the string is not copied internally +--- a/net/wireless/core.h 2009-07-07 13:32:53.367707921 -0700 ++++ b/net/wireless/core.h 2009-07-07 13:32:53.943703622 -0700 +@@ -11,7 +11,11 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) + #include ++#else ++#include ++#endif + #include + #include + #include --- a/drivers/net/wireless/ath/ath9k/hw.c 2009-08-04 11:07:27.734023469 -0700 +++ b/drivers/net/wireless/ath/ath9k/hw.c 2009-08-04 11:07:28.482002411 -0700 @@ -3601,7 +3601,7 @@ -- 2.30.2