diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-05 21:03:43 -0400 |
commit | 4ad99f15c6a3cadf36928c399459ea4fdb3d49f9 (patch) | |
tree | d0536e4da737900fa27b235f175a3d179d692200 /include/linux/input.h | |
parent | 46767aeba58ca9357a2309765201bad38d8f5e9b (diff) | |
parent | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 5770105471dd..c38507ba38b5 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -953,7 +953,6 @@ struct input_dev { | |||
953 | unsigned int repeat_key; | 953 | unsigned int repeat_key; |
954 | struct timer_list timer; | 954 | struct timer_list timer; |
955 | 955 | ||
956 | struct pt_regs *regs; | ||
957 | int state; | 956 | int state; |
958 | 957 | ||
959 | int sync; | 958 | int sync; |
@@ -1149,15 +1148,9 @@ static inline void input_report_switch(struct input_dev *dev, unsigned int code, | |||
1149 | input_event(dev, EV_SW, code, !!value); | 1148 | input_event(dev, EV_SW, code, !!value); |
1150 | } | 1149 | } |
1151 | 1150 | ||
1152 | static inline void input_regs(struct input_dev *dev, struct pt_regs *regs) | ||
1153 | { | ||
1154 | dev->regs = regs; | ||
1155 | } | ||
1156 | |||
1157 | static inline void input_sync(struct input_dev *dev) | 1151 | static inline void input_sync(struct input_dev *dev) |
1158 | { | 1152 | { |
1159 | input_event(dev, EV_SYN, SYN_REPORT, 0); | 1153 | input_event(dev, EV_SYN, SYN_REPORT, 0); |
1160 | dev->regs = NULL; | ||
1161 | } | 1154 | } |
1162 | 1155 | ||
1163 | static inline void input_set_abs_params(struct input_dev *dev, int axis, int min, int max, int fuzz, int flat) | 1156 | static inline void input_set_abs_params(struct input_dev *dev, int axis, int min, int max, int fuzz, int flat) |