TTY: ircomm, add tty_port
And use close/open_wait from there. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Samuel Ortiz <samuel@sortiz.org> Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
718c4ca1f7
commit
a3cc9fcff8
@@ -62,6 +62,7 @@
|
||||
*/
|
||||
struct ircomm_tty_cb {
|
||||
irda_queue_t queue; /* Must be first */
|
||||
struct tty_port port;
|
||||
magic_t magic;
|
||||
|
||||
int state; /* Connect state */
|
||||
@@ -97,8 +98,6 @@ struct ircomm_tty_cb {
|
||||
void *skey;
|
||||
void *ckey;
|
||||
|
||||
wait_queue_head_t open_wait;
|
||||
wait_queue_head_t close_wait;
|
||||
struct timer_list watchdog_timer;
|
||||
struct work_struct tqueue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user