Commit c91cb7a75eaf65358aac5ea2b512ac60a9437ff4
1 parent
40a812044a
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Input: mousedev - move /dev/input/mice to the correct minor
When doing conversion to dynamic input numbers I inadvertently moved /dev/input/mice from c,13,63 to c,13,31. We need to fix this so that setups with statically populated /dev continue working. Tested-by: Krzysztof Mazur <krzysiek@podlesie.net> Tested-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/input/mousedev.c
... | ... | @@ -12,8 +12,8 @@ |
12 | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
13 | 13 | |
14 | 14 | #define MOUSEDEV_MINOR_BASE 32 |
15 | -#define MOUSEDEV_MINORS 32 | |
16 | -#define MOUSEDEV_MIX 31 | |
15 | +#define MOUSEDEV_MINORS 31 | |
16 | +#define MOUSEDEV_MIX 63 | |
17 | 17 | |
18 | 18 | #include <linux/sched.h> |
19 | 19 | #include <linux/slab.h> |