summaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-08-19 09:52:28 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-21 00:37:40 -0700
commit8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9 (patch)
tree04e4884e809a627723c9d9924e23b045c6673e91 /include/linux/miscdevice.h
parent77edf0c7515cd8268a0cce2daa3f3c87e9afe005 (diff)
downloadlinux-stable-8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9.tar.gz
linux-stable-8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9.tar.bz2
linux-stable-8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9.zip
Input: uinput - add devname alias to allow module on-demand load
Recent modprobe and udev versions allow to create device nodes for modules which are not loaded. Only the first access will cause the in-kernel module loader to pull-in the module. Systems which never access the device node will not needlessly load the module, and no longer need init scripts or other facilities to unconditionally load it. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index bafffc737903..18fd13028ba1 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -33,6 +33,7 @@
#define MWAVE_MINOR 219 /* ACP/Mwave Modem */
#define MPT_MINOR 220
#define MPT2SAS_MINOR 221
+#define UINPUT_MINOR 223
#define HPET_MINOR 228
#define FUSE_MINOR 229
#define KVM_MINOR 232