]> git.baikalelectronics.ru Git - kernel.git/commit
tty: mxser: use the tty_port_open method
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:35 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commit47b7d8cfa6ab835d76dd4c99ea6338d612eff41d
tree365b66a3b9a21cd0240c8355fc74a0c791a0ed66
parente27ee84a3758a4a92289e737c4e6dd5bce86bebb
tty: mxser: use the tty_port_open method

At first this looks a fairly trivial conversion but we can't quite push
everything into the right format yet. The open side is easy but care is needed
over the setserial methods. Fix up the locking now that we've adopted the
port->mutex locking rule for the initialization.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c