From 45cba6dbfc5a0bbcc22e598bca5a9610f0b6de69 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 7 Jul 2009 17:28:01 -0700 Subject: [PATCH] Forgot to ifdef the inclusion of rfkill_backport.h on rfkill/input.c Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/compat/compat.diff b/compat/compat.diff index d68270eb9662..d83b521024cf 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -747,18 +747,21 @@ rfkill_handler_exit(); #endif misc_deregister(&rfkill_miscdev); ---- a/net/rfkill/input.c -+++ b/net/rfkill/input.c -@@ -17,7 +17,7 @@ +--- 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 --#include ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) + #include ++#else +#include ++#endif #include #include "rfkill.h" -@@ -229,7 +229,7 @@ static int rfkill_connect(struct input_handler *handler, struct input_dev *dev, +@@ -229,7 +233,7 @@ static int rfkill_connect(struct input_h handle->dev = dev; handle->handler = handler; -- 2.30.2