lkml.org 
[lkml]   [2014]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/4] HID: microsoft: undefining ms_map_key_clear after usage
Date
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


\
 
 \ /
  Last update: 2014-04-04 19:21    [W:0.047 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site