diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 11:35:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 22:50:23 (GMT) |
commit | a3cc9fcff84c4c8aaecda2420acd89a1418d57e9 (patch) | |
tree | 417fefbc96cdea1649186b483bab077c839a2f21 /include/net/irda/ircomm_tty.h | |
parent | 718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3 (diff) | |
download | linux-a3cc9fcff84c4c8aaecda2420acd89a1418d57e9.tar.xz |
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>
Diffstat (limited to 'include/net/irda/ircomm_tty.h')
-rw-r--r-- | include/net/irda/ircomm_tty.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index 59ba38bc..365fa6e 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h @@ -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; |