From: Jiri Kosina Date: Tue, 25 May 2010 07:58:05 +0000 (+0200) Subject: HID: roccat: fix build failure if built as module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e927bfc87037c1f44d6b61be12c36f6215ee5b2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 --- diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h index 40cca5b918dc..d8aae0c1fa7e 100644 --- a/drivers/hid/hid-roccat.h +++ b/drivers/hid/hid-roccat.h @@ -15,7 +15,7 @@ #include #include -#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);