[MOUSE] Alias for /dev/psaux
diff mbox series

Message ID 20031105104853.GA1966@gondor.apana.org.au
State New, archived
Headers show
Series
  • [MOUSE] Alias for /dev/psaux
Related show

Commit Message

Herbert Xu Nov. 5, 2003, 10:48 a.m. UTC
Hi:

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

Thanks,

Patch
diff mbox series

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