summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorStefan Achatz2011-01-30 13:38:20 +0100
committerJiri Kosina2011-02-03 16:37:26 +0100
commitcb38cd87862aa515cd0559473e94d4495372a590 (patch)
treeb93a4e9573fa02f7bdb1a086984320d0d0da8182 /drivers/hid
parentHID: roccat: Fix an error message when reading more data from bin attributes (diff)
downloadkernel-qcow2-linux-cb38cd87862aa515cd0559473e94d4495372a590.tar.gz
kernel-qcow2-linux-cb38cd87862aa515cd0559473e94d4495372a590.tar.xz
kernel-qcow2-linux-cb38cd87862aa515cd0559473e94d4495372a590.zip
HID: roccat: Remove empty function definitions for roccat chardev
Roccat chardev is a dependency of all device specific drivers, so the empty definitions are not needed anymore. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-roccat.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h
index 5784281d613f..c7393372df7c 100644
--- a/drivers/hid/hid-roccat.h
+++ b/drivers/hid/hid-roccat.h
@@ -15,18 +15,8 @@
#include <linux/hid.h>
#include <linux/types.h>
-#if defined(CONFIG_HID_ROCCAT) || defined(CONFIG_HID_ROCCAT_MODULE)
int roccat_connect(struct class *klass, struct hid_device *hid);
void roccat_disconnect(int minor);
int roccat_report_event(int minor, u8 const *data, int len);
-#else
-static inline int roccat_connect(struct class *klass,
- struct hid_device *hid) { return -1; }
-static inline void roccat_disconnect(int minor) {}
-static inline int roccat_report_event(int minor, u8 const *data, int len)
-{
- return 0;
-}
-#endif
#endif