summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-16 09:14:12 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-18 23:15:16 -0800
commitc91cb7a75eaf65358aac5ea2b512ac60a9437ff4 (patch)
treee1d33747cece8bd48369742fa81ab18f7b6c3eaf /drivers/input
parent40a812044a11a8fd32202cd22bb76329dd188094 (diff)
downloadop-kernel-dev-c91cb7a75eaf65358aac5ea2b512ac60a9437ff4.zip
op-kernel-dev-c91cb7a75eaf65358aac5ea2b512ac60a9437ff4.tar.gz
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 'drivers/input')
-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 8f02e3d..4c842c3 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>
OpenPOWER on IntegriCloud