Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -2
+2 -2
drivers/input/mousedev.c
··· 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>