* [PATCH 2.6 IrDA] IrCOMM module alias
@ 2004-01-08 2:34 Jean Tourrilhes
0 siblings, 0 replies; only message in thread
From: Jean Tourrilhes @ 2004-01-08 2:34 UTC (permalink / raw)
To: David S. Miller, Linux kernel mailing list
irXXX_ircomm_alias.diff :
~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>
o [FEATURE] Add module alias for IrCOMM pseudo serial device.
diff -urp linux-2.6.0-test9-bk22/net/irda/ircomm/ircomm_tty.c v2.6.0-test9-bk22/net/irda/ircomm/ircomm_tty.c
--- linux-2.6.0-test9-bk22/net/irda/ircomm/ircomm_tty.c Wed Nov 19 12:33:50 2003
+++ v2.6.0-test9-bk22/net/irda/ircomm/ircomm_tty.c Wed Nov 19 14:49:42 2003
@@ -38,6 +38,7 @@
#include <linux/termios.h>
#include <linux/tty.h>
#include <linux/interrupt.h>
+#include <linux/device.h> /* for MODULE_ALIAS_CHARDEV_MAJOR */
#include <asm/uaccess.h>
@@ -1408,6 +1409,7 @@ done:
MODULE_AUTHOR("Dag Brattli <dagb@cs.uit.no>");
MODULE_DESCRIPTION("IrCOMM serial TTY driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_CHARDEV_MAJOR(IRCOMM_TTY_MAJOR);
module_init(ircomm_tty_init);
module_exit(ircomm_tty_cleanup);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-08 2:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-08 2:34 [PATCH 2.6 IrDA] IrCOMM module alias Jean Tourrilhes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®