hid-lg.h (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) hid-lg.h (a54dc7795efceb9a458457540c69450c995a2772)
1#ifndef __HID_LG_H
2#define __HID_LG_H
3
4struct lg_drv_data {
5 unsigned long quirks;
6 void *device_props; /* Device specific properties */
7};
8

--- 10 unchanged lines hidden (view full) ---

19#endif
20
21#ifdef CONFIG_LOGIG940_FF
22int lg3ff_init(struct hid_device *hdev);
23#else
24static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
25#endif
26
1#ifndef __HID_LG_H
2#define __HID_LG_H
3
4struct lg_drv_data {
5 unsigned long quirks;
6 void *device_props; /* Device specific properties */
7};
8

--- 10 unchanged lines hidden (view full) ---

19#endif
20
21#ifdef CONFIG_LOGIG940_FF
22int lg3ff_init(struct hid_device *hdev);
23#else
24static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
25#endif
26
27#ifdef CONFIG_LOGIWHEELS_FF
28int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field,
29 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data);
30int lg4ff_init(struct hid_device *hdev);
31int lg4ff_deinit(struct hid_device *hdev);
32#else
33static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field,
34 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) { return 0; }
35static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
36static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
37#endif
27#endif
38
39#endif