blob: 3d8902ba1c6cd56d874de5e5708164753444b8d9 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jiri Slaby606bd0a2008-07-04 23:06:45 +02002#ifndef __HID_LG_H
3#define __HID_LG_H
4
Michal Malý8577dbf2012-03-31 11:17:25 +02005struct lg_drv_data {
6 unsigned long quirks;
7 void *device_props; /* Device specific properties */
8};
9
Jiri Slaby606bd0a2008-07-04 23:06:45 +020010#ifdef CONFIG_LOGITECH_FF
11int lgff_init(struct hid_device *hdev);
12#else
13static inline int lgff_init(struct hid_device *hdev) { return -1; }
14#endif
15
16#ifdef CONFIG_LOGIRUMBLEPAD2_FF
17int lg2ff_init(struct hid_device *hdev);
18#else
19static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
20#endif
21
Gary Stein74f292c2010-01-13 00:25:58 +010022#ifdef CONFIG_LOGIG940_FF
23int lg3ff_init(struct hid_device *hdev);
24#else
25static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
26#endif
27
Jiri Slaby606bd0a2008-07-04 23:06:45 +020028#endif