projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206f5f2
)
HID: roccat: fix build failure if built as module
author
Jiri Kosina
<jkosina@suse.cz>
Tue, 25 May 2010 07:58:05 +0000
(09:58 +0200)
committer
Jiri 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-roccat.h
b/drivers/hid/hid-roccat.h
index 40cca5b918dc500d2dcba85be32b0c1abb0dcbe5..d8aae0c1fa7ea804b110eb655540c3776c469d55 100644
(file)
--- a/
drivers/hid/hid-roccat.h
+++ b/
drivers/hid/hid-roccat.h
@@
-15,7
+15,7
@@
#include <linux/hid.h>
#include <linux/types.h>
-#if
def 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);