From: Pavel Roskin <proski@gnu.org>
To: Keith Bannister <k.bannister@ieee.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: KEY_RFKILL not found on kernel 2.6.30
Date: Fri, 05 Mar 2010 16:35:26 -0500 [thread overview]
Message-ID: <1267824926.3068.12.camel@mj> (raw)
In-Reply-To: <e44ae5e1003032058g2cf1b5a1lcf62e8919dddea58@mail.gmail.com>
On Thu, 2010-03-04 at 15:58 +1100, Keith Bannister wrote:
> /home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:219:
> error: ‘KEY_RFKILL’ undeclared (first use in this function)
The same happens on Linux 2.6.26. I've just sent a patch for that.
Sorry, I should have credited you as the original reporter.
> Any Ideas?
Please apply this patch to compat-wireless:
diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h
index 9559f21..70e5f98 100644
--- a/include/linux/compat-2.6.33.h
+++ b/include/linux/compat-2.6.33.h
@@ -49,6 +49,8 @@ static inline void compat_release_firmware(const struct firmware *fw)
}
#endif
+#define KEY_RFKILL 247 /* Key that controls all radios */
+
#define IFF_DONT_BRIDGE 0x800 /* disallow bridging this ether dev */
/* source: include/linux/if.h */
--
Regards,
Pavel Roskin
prev parent reply other threads:[~2010-03-05 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 4:58 KEY_RFKILL not found on kernel 2.6.30 Keith Bannister
2010-03-05 5:24 ` Nick Bertrand
2010-03-05 21:35 ` Pavel Roskin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1267824926.3068.12.camel@mj \
--to=proski@gnu.org \
--cc=k.bannister@ieee.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).