diff options
Diffstat (limited to 'include/linux/uinput.h')
| -rw-r--r-- | include/linux/uinput.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/uinput.h b/include/linux/uinput.h index 15ddd4483b09..05f7fed2b173 100644 --- a/include/linux/uinput.h +++ b/include/linux/uinput.h | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | #define UINPUT_VERSION 3 | 37 | #define UINPUT_VERSION 3 |
| 38 | 38 | ||
| 39 | #ifdef __KERNEL__ | 39 | #ifdef __KERNEL__ |
| 40 | #define UINPUT_MINOR 223 | ||
| 41 | #define UINPUT_NAME "uinput" | 40 | #define UINPUT_NAME "uinput" |
| 42 | #define UINPUT_BUFFER_SIZE 16 | 41 | #define UINPUT_BUFFER_SIZE 16 |
| 43 | #define UINPUT_NUM_REQUESTS 16 | 42 | #define UINPUT_NUM_REQUESTS 16 |
| @@ -166,11 +165,11 @@ struct uinput_ff_erase { | |||
| 166 | struct uinput_user_dev { | 165 | struct uinput_user_dev { |
| 167 | char name[UINPUT_MAX_NAME_SIZE]; | 166 | char name[UINPUT_MAX_NAME_SIZE]; |
| 168 | struct input_id id; | 167 | struct input_id id; |
| 169 | int ff_effects_max; | 168 | int ff_effects_max; |
| 170 | int absmax[ABS_MAX + 1]; | 169 | int absmax[ABS_CNT]; |
| 171 | int absmin[ABS_MAX + 1]; | 170 | int absmin[ABS_CNT]; |
| 172 | int absfuzz[ABS_MAX + 1]; | 171 | int absfuzz[ABS_CNT]; |
| 173 | int absflat[ABS_MAX + 1]; | 172 | int absflat[ABS_CNT]; |
| 174 | }; | 173 | }; |
| 175 | #endif /* __UINPUT_H_ */ | 174 | #endif /* __UINPUT_H_ */ |
| 176 | 175 | ||
