aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-05-25 03:58:05 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-25 03:58:05 -0400
commit0e927bfc87037c1f44d6b61be12c36f6215ee5b2 (patch)
tree7a785144edd0e0bf983041b4a699ccc3f51b2f10 /drivers/hid
parent206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378 (diff)
HID: roccat: fix build failure if built as module
Fix build failure when roccat and roccat-kone are built as modules. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-roccat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h
index 40cca5b918dc..d8aae0c1fa7e 100644
--- a/drivers/hid/hid-roccat.h
+++ b/drivers/hid/hid-roccat.h
@@ -15,7 +15,7 @@
15#include <linux/hid.h> 15#include <linux/hid.h>
16#include <linux/types.h> 16#include <linux/types.h>
17 17
18#ifdef CONFIG_HID_ROCCAT 18#if defined(CONFIG_HID_ROCCAT) || defined (CONFIG_HID_ROCCAT_MODULE)
19int roccat_connect(struct hid_device *hid); 19int roccat_connect(struct hid_device *hid);
20void roccat_disconnect(int minor); 20void roccat_disconnect(int minor);
21int roccat_report_event(int minor, u8 const *data, int len); 21int roccat_report_event(int minor, u8 const *data, int len);