From: Jiri Slaby Date: Fri, 8 Dec 2006 10:38:28 +0000 (-0800) Subject: [PATCH] Char: mxser_new, register tty devices on the fly X-Git-Tag: v2.6.20-rc1~34^2~220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938ef1804049eb1c527e25568ff70c6a2a2bfdcc;p=pandora-kernel.git [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 Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed