Skip to content

Commit c91cb7a

Browse files
committed
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>
1 parent 40a8120 commit c91cb7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/input/mousedev.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
1313

1414
#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
1717

1818
#include <linux/sched.h>
1919
#include <linux/slab.h>

0 commit comments

Comments
 (0)