diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-05-25 09:58:05 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-25 09:58:05 +0200 |
commit | 0e927bfc87037c1f44d6b61be12c36f6215ee5b2 (patch) | |
tree | 7a785144edd0e0bf983041b4a699ccc3f51b2f10 | |
parent | 206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378 (diff) | |
download | op-kernel-dev-0e927bfc87037c1f44d6b61be12c36f6215ee5b2.zip op-kernel-dev-0e927bfc87037c1f44d6b61be12c36f6215ee5b2.tar.gz |
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>
-rw-r--r-- | drivers/hid/hid-roccat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |