hid-lg4ff.h (b3e5ced63e051e8f911b795ac5b06229a5328f7b) | hid-lg4ff.h (2a552c30b2e44578b8d063e55b717ba94df84667) |
---|---|
1#ifndef __HID_LG4FF_H 2#define __HID_LG4FF_H 3 4#ifdef CONFIG_LOGIWHEELS_FF 5extern int lg4ff_no_autoswitch; /* From hid-lg.c */ 6 7int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, | 1#ifndef __HID_LG4FF_H 2#define __HID_LG4FF_H 3 4#ifdef CONFIG_LOGIWHEELS_FF 5extern int lg4ff_no_autoswitch; /* From hid-lg.c */ 6 7int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, |
8 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data); | 8 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data); |
9int lg4ff_init(struct hid_device *hdev); 10int lg4ff_deinit(struct hid_device *hdev); 11#else 12static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, | 9int lg4ff_init(struct hid_device *hdev); 10int lg4ff_deinit(struct hid_device *hdev); 11#else 12static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, |
13 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) { return 0; } | 13 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) { return 0; } |
14static inline int lg4ff_init(struct hid_device *hdev) { return -1; } 15static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; } 16#endif 17 18#endif | 14static inline int lg4ff_init(struct hid_device *hdev) { return -1; } 15static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; } 16#endif 17 18#endif |