TTY: moxa, convert to dynamic device
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:55 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Aug 2012 23:50:20 +0000 (16:50 -0700)
commit793be8984fb979ae8887609862842cbb1f60bfaf
tree8e1df3802d07fad16b0e5928e003667a9f956146
parentcc93441eed0d39af9d99ba1642b9f733b195435c
TTY: moxa, convert to dynamic device

This allows us to provide the tty layer with information about
tty_port for each link.

We also provide a tty_port for the service port. For this one we allow
only ioctl, so this is pretty ugly.

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/tty/moxa.c