diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-01-30 07:38:20 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-03 10:37:26 -0500 |
commit | cb38cd87862aa515cd0559473e94d4495372a590 (patch) | |
tree | b93a4e9573fa02f7bdb1a086984320d0d0da8182 /drivers/hid | |
parent | fd82be6c0a359fc706a805a49b1f167af21e63ea (diff) |
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.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h index 5784281d613..c7393372df7 100644 --- a/drivers/hid/hid-roccat.h +++ b/drivers/hid/hid-roccat.h | |||
@@ -15,18 +15,8 @@ | |||
15 | #include <linux/hid.h> | 15 | #include <linux/hid.h> |
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | 17 | ||
18 | #if defined(CONFIG_HID_ROCCAT) || defined(CONFIG_HID_ROCCAT_MODULE) | ||
19 | int roccat_connect(struct class *klass, struct hid_device *hid); | 18 | int roccat_connect(struct class *klass, struct hid_device *hid); |
20 | void roccat_disconnect(int minor); | 19 | void roccat_disconnect(int minor); |
21 | int roccat_report_event(int minor, u8 const *data, int len); | 20 | int roccat_report_event(int minor, u8 const *data, int len); |
22 | #else | ||
23 | static inline int roccat_connect(struct class *klass, | ||
24 | struct hid_device *hid) { return -1; } | ||
25 | static inline void roccat_disconnect(int minor) {} | ||
26 | static inline int roccat_report_event(int minor, u8 const *data, int len) | ||
27 | { | ||
28 | return 0; | ||
29 | } | ||
30 | #endif | ||
31 | 21 | ||
32 | #endif | 22 | #endif |