]> git.karo-electronics.de Git - karo-tx-linux.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)
commit16a1065f2113b2c068ea108a681fb6b1f3a02ce0
treefd98208580a15288f1f5f38ff45489a9726f2af6
parent737586fe51e6d0031f83d781c0cb2f3abf8caada
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