]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Char: mxser_new, register tty devices on the fly
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:28 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:54 +0000 (08:28 -0800)
commit64a464d12360cc79c1a51d77406ffdffb9078678
tree4949a467047bb88561168a1e5af6eee5948996c3
parenteca907625709a0c09aad28e35795bd238b48243b
[PATCH] Char: mxser_new, register tty devices on the fly

Register tty indexes only for real devices, udev then creates nodes for them
(and only for them).  Move tty_register_driver before probing, to be correct
when calling tty_register_device.  Also tell tty layer by tty_driver flags,
that we are registering devices.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c