summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-05-25 09:58:05 +0200
committerJiri Kosina <jkosina@suse.cz>2010-05-25 09:58:05 +0200
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 40cca5b918d..d8aae0c1fa7 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);