mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
a7ac90f18c
The description of lg4ff driver has to be changed to reflect the fact that the driver now handles a lot more Logitech wh the Wii. Entry in Kconfig has been renamed to LOGIWHEELS_FF Signed-off-by: Michal Malý <madcatxster@gmail.com> Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
31 lines
766 B
C
31 lines
766 B
C
#ifndef __HID_LG_H
|
|
#define __HID_LG_H
|
|
|
|
#ifdef CONFIG_LOGITECH_FF
|
|
int lgff_init(struct hid_device *hdev);
|
|
#else
|
|
static inline int lgff_init(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#ifdef CONFIG_LOGIRUMBLEPAD2_FF
|
|
int lg2ff_init(struct hid_device *hdev);
|
|
#else
|
|
static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#ifdef CONFIG_LOGIG940_FF
|
|
int lg3ff_init(struct hid_device *hdev);
|
|
#else
|
|
static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#ifdef CONFIG_LOGIWHEELS_FF
|
|
int lg4ff_init(struct hid_device *hdev);
|
|
int lg4ff_deinit(struct hid_device *hdev);
|
|
#else
|
|
static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
|
|
static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#endif
|