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>
This commit is contained in:
Родитель
206f5f2fcb
Коммит
0e927bfc87
|
@ -15,7 +15,7 @@
|
||||||
#include <linux/hid.h>
|
#include <linux/hid.h>
|
||||||
#include <linux/types.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);
|
int roccat_connect(struct hid_device *hid);
|
||||||
void roccat_disconnect(int minor);
|
void roccat_disconnect(int minor);
|
||||||
int roccat_report_event(int minor, u8 const *data, int len);
|
int roccat_report_event(int minor, u8 const *data, int len);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче