From: Tolga Cakir <tolga@cevel.net>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Derya <derya.kiran@yahoo.de>, Jiri Kosina <jkosina@suse.cz>,
Reyad Attiyat <reyad.attiyat@gmail.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
Tolga Cakir <tolga@cevel.net>
Subject: [PATCH 4/4] HID: microsoft: undefining ms_map_key_clear after usage
Date: Fri, 4 Apr 2014 19:07:17 +0200 [thread overview]
Message-ID: <1396631237-11813-1-git-send-email-tolga@cevel.net> (raw)
This is inspired by various other hid drivers.
Signed-off-by: Tolga Cakir <tolga@cevel.net>
---
drivers/hid/hid-microsoft.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hid/hid-microsoft.c b/drivers/hid/hid-microsoft.c
index 5674c0c..5281d2d 100644
--- a/drivers/hid/hid-microsoft.c
+++ b/drivers/hid/hid-microsoft.c
@@ -211,6 +211,8 @@ static int ms_sidewinder_kb_quirk(struct hid_input *hi, struct hid_usage *usage,
return 1;
}
+#undef ms_map_key_clear
+
static int ms_sidewinder_control(struct hid_device *hdev, __u8 setup)
{
struct ms_data *sc = hid_get_drvdata(hdev);
--
1.9.1
next reply other threads:[~2014-04-04 17:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 17:07 Tolga Cakir [this message]
2014-04-09 20:42 ` [PATCH 4/4] HID: microsoft: undefining ms_map_key_clear after usage Benjamin Tissoires
2014-04-10 0:02 ` Tolga Cakir
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=1396631237-11813-1-git-send-email-tolga@cevel.net \
--to=tolga@cevel.net \
--cc=benjamin.tissoires@redhat.com \
--cc=derya.kiran@yahoo.de \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=reyad.attiyat@gmail.com \
/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).