From 3dbf58c94e0f76aaba7344ddf8f78a7c2d2dbcc7 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 Aug 2009 11:15:14 -0700 Subject: [PATCH] Move net/rfkill patches to 03-rfkill.patch Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 35 ----------------------------------- compat/diffs/03-rfkill.patch | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/compat/compat.diff b/compat/compat.diff index 208d312b55b0..befb8c5cfc4b 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -438,41 +438,6 @@ return ops; } ---- a/net/rfkill/Makefile -+++ b/net/rfkill/Makefile -@@ -2,6 +2,6 @@ - # Makefile for the RF switch subsystem. - # - --rfkill-y += core.o --rfkill-$(CONFIG_RFKILL_INPUT) += input.o --obj-$(CONFIG_RFKILL) += rfkill.o -+rfkill_backport-y += core.o -+rfkill_backport-$(CONFIG_RFKILL_BACKPORT_INPUT) += input.o -+obj-$(CONFIG_RFKILL_BACKPORT) += rfkill_backport.o ---- a/net/rfkill/input.c 2009-07-07 17:27:09.290706860 -0700 -+++ b/net/rfkill/input.c 2009-07-07 17:26:57.195684653 -0700 -@@ -17,7 +17,11 @@ - #include - #include - #include -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) - #include -+#else -+#include -+#endif - #include - - #include "rfkill.h" -@@ -229,7 +233,7 @@ static int rfkill_connect(struct input_h - - handle->dev = dev; - handle->handler = handler; -- handle->name = "rfkill"; -+ handle->name = "rfkill_backport"; - - /* causes rfkill_start() to be called */ - error = input_register_handle(handle); --- 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 @@ diff --git a/compat/diffs/03-rfkill.patch b/compat/diffs/03-rfkill.patch index 0f3b462939bc..c6ffa863e942 100644 --- a/compat/diffs/03-rfkill.patch +++ b/compat/diffs/03-rfkill.patch @@ -1,3 +1,38 @@ +--- a/net/rfkill/Makefile ++++ b/net/rfkill/Makefile +@@ -2,6 +2,6 @@ + # Makefile for the RF switch subsystem. + # + +-rfkill-y += core.o +-rfkill-$(CONFIG_RFKILL_INPUT) += input.o +-obj-$(CONFIG_RFKILL) += rfkill.o ++rfkill_backport-y += core.o ++rfkill_backport-$(CONFIG_RFKILL_BACKPORT_INPUT) += input.o ++obj-$(CONFIG_RFKILL_BACKPORT) += rfkill_backport.o +--- a/net/rfkill/input.c 2009-07-07 17:27:09.290706860 -0700 ++++ b/net/rfkill/input.c 2009-07-07 17:26:57.195684653 -0700 +@@ -17,7 +17,11 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) + #include ++#else ++#include ++#endif + #include + + #include "rfkill.h" +@@ -229,7 +233,7 @@ static int rfkill_connect(struct input_h + + handle->dev = dev; + handle->handler = handler; +- handle->name = "rfkill"; ++ handle->name = "rfkill_backport"; + + /* causes rfkill_start() to be called */ + error = input_register_handle(handle); --- a/net/rfkill/core.c 2009-08-04 10:54:43.078999821 -0700 +++ b/net/rfkill/core.c 2009-08-04 10:54:43.555024585 -0700 @@ -26,7 +26,7 @@ -- 2.30.2