diff mbox

[5/5] HID: add chardev to propagate special events of Roccat hardware to userland

Message ID alpine.LNX.2.00.1005250959150.28092@pobox.suse.cz (mailing list archive)
State Accepted
Commit 0e927bfc87037c1f44d6b61be12c36f6215ee5b2
Headers show

Commit Message

Jiri Kosina May 25, 2010, 8 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h
index 40cca5b..d8aae0c 100644
--- a/drivers/hid/hid-roccat.h
+++ b/drivers/hid/hid-roccat.h
@@ -15,7 +15,7 @@ 
 #include <linux/hid.h>
 #include <linux/types.h>
 
-#ifdef CONFIG_HID_ROCCAT
+#if defined(CONFIG_HID_ROCCAT) || defined (CONFIG_HID_ROCCAT_MODULE)
 int roccat_connect(struct hid_device *hid);
 void roccat_disconnect(int minor);
 int roccat_report_event(int minor, u8 const *data, int len);