isicom: redo locking to use tty port locks
authorAlan Cox <alan@redhat.com>
Fri, 2 Jan 2009 13:45:26 +0000 (13:45 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:38 +0000 (10:19 -0800)
commit3e61696bdc2103107674b06d0daf30b76193e922
treecc4f2b7b7b0ce2162613bb9d3cf819f6bbfd3628
parent5d951fb458f847e5485b5251597fbf326000bb3b
isicom: redo locking to use tty port locks

This helps set the basis for moving block_til_ready into common code. We also
introduce a tty_port_hangup helper as this will also be generally needed.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/isicom.c
drivers/char/synclinkmp.c
drivers/char/tty_port.c
include/linux/tty.h