HID: roccat: fix build failure if built as module
authorJiri Kosina <jkosina@suse.cz>
Tue, 25 May 2010 07:58:05 +0000 (09:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 25 May 2010 07:58:05 +0000 (09:58 +0200)
Fix build failure when roccat and roccat-kone are built as modules.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-roccat.h

index 40cca5b918dc500d2dcba85be32b0c1abb0dcbe5..d8aae0c1fa7ea804b110eb655540c3776c469d55 100644 (file)
@@ -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);