summaryrefslogtreecommitdiffstats
path: root/drivers/input/mousedev.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-16 18:14:12 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-19 08:15:16 +0100
commitc91cb7a75eaf65358aac5ea2b512ac60a9437ff4 (patch)
treee1d33747cece8bd48369742fa81ab18f7b6c3eaf /drivers/input/mousedev.c
parentInput: MT - document new 'flags' argument of input_mt_init_slots() (diff)
downloadlinux-c91cb7a75eaf65358aac5ea2b512ac60a9437ff4.tar.xz
linux-c91cb7a75eaf65358aac5ea2b512ac60a9437ff4.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/input/mousedev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 8f02e3d0e712..4c842c320c2e 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -12,8 +12,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define MOUSEDEV_MINOR_BASE 32
-#define MOUSEDEV_MINORS 32
-#define MOUSEDEV_MIX 31
+#define MOUSEDEV_MINORS 31
+#define MOUSEDEV_MIX 63
#include <linux/sched.h>
#include <linux/slab.h>