]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: synclink_cs, use dynamic tty devices
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:53 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Aug 2012 23:50:20 +0000 (16:50 -0700)
commit4602a6f9929efe9b4721a9b771937cbd38edac42
treefd98208580a15288f1f5f38ff45489a9726f2af6
parenta3f309761ef6c589b4f0a488ce7471f7e7181d07
TTY: synclink_cs, use dynamic tty devices

This allows us to provide the tty layer with information about
tty_port for each link. And it also allows us to get rid of the
remove_device loop in synclink_cs_exit because we had to reorder
pcmcia and tty driver registration in init. This was because we need
to have serial_driver initialized when calling
tty_port_register_device from pcmcia ->probe.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/pcmcia/synclink_cs.c