From 0e927bfc87037c1f44d6b61be12c36f6215ee5b2 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Tue, 25 May 2010 09:58:05 +0200 Subject: [PATCH] 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 --- drivers/hid/hid-roccat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1