]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit938ef1804049eb1c527e25568ff70c6a2a2bfdcc
tree4949a467047bb88561168a1e5af6eee5948996c3
parenteae4436a4e513f5f912dcc5dac79038f22fb6403
[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