[MOUSE] Alias for /dev/psaux

From: Herbert Xu
Date: Wed Nov 05 2003 - 05:50:28 EST


Hi:

This patch creates an alias for /dev/psaux so that mousedev is loaded
automatically.

Thanks,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: kernel-source-2.5/drivers/input/mousedev.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/input/mousedev.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 mousedev.c
--- kernel-source-2.5/drivers/input/mousedev.c 28 Sep 2003 04:44:12 -0000 1.1.1.8
+++ kernel-source-2.5/drivers/input/mousedev.c 5 Nov 2003 10:40:30 -0000
@@ -571,3 +571,6 @@
MODULE_PARM_DESC(xres, "Horizontal screen resolution");
MODULE_PARM(yres, "i");
MODULE_PARM_DESC(yres, "Vertical screen resolution");
+#ifdef CONFIG_INPUT_MOUSEDEV_PSAUX
+MODULE_ALIAS_CHARDEV(MISC_MAJOR, PSMOUSE_MINOR);
+#endif