diff options
-rw-r--r-- | include/linux/input.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index d8b0c5610c04..4405d0283549 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -870,7 +870,6 @@ struct input_dev { | |||
870 | unsigned long sndbit[NBITS(SND_MAX)]; | 870 | unsigned long sndbit[NBITS(SND_MAX)]; |
871 | unsigned long ffbit[NBITS(FF_MAX)]; | 871 | unsigned long ffbit[NBITS(FF_MAX)]; |
872 | unsigned long swbit[NBITS(SW_MAX)]; | 872 | unsigned long swbit[NBITS(SW_MAX)]; |
873 | int ff_effects_max; | ||
874 | 873 | ||
875 | unsigned int keycodemax; | 874 | unsigned int keycodemax; |
876 | unsigned int keycodesize; | 875 | unsigned int keycodesize; |
@@ -903,8 +902,6 @@ struct input_dev { | |||
903 | void (*close)(struct input_dev *dev); | 902 | void (*close)(struct input_dev *dev); |
904 | int (*flush)(struct input_dev *dev, struct file *file); | 903 | int (*flush)(struct input_dev *dev, struct file *file); |
905 | int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); | 904 | int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); |
906 | int (*upload_effect)(struct input_dev *dev, struct ff_effect *effect); | ||
907 | int (*erase_effect)(struct input_dev *dev, int effect_id); | ||
908 | 905 | ||
909 | struct input_handle *grab; | 906 | struct input_handle *grab; |
910 | 907 | ||
@@ -1078,11 +1075,6 @@ static inline void input_report_abs(struct input_dev *dev, unsigned int code, in | |||
1078 | input_event(dev, EV_ABS, code, value); | 1075 | input_event(dev, EV_ABS, code, value); |
1079 | } | 1076 | } |
1080 | 1077 | ||
1081 | static inline void input_report_ff(struct input_dev *dev, unsigned int code, int value) | ||
1082 | { | ||
1083 | input_event(dev, EV_FF, code, value); | ||
1084 | } | ||
1085 | |||
1086 | static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) | 1078 | static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) |
1087 | { | 1079 | { |
1088 | input_event(dev, EV_FF_STATUS, code, value); | 1080 | input_event(dev, EV_FF_STATUS, code, value); |