summaryrefslogtreecommitdiffstats
path: root/include/net/irda
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 13:35:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 00:50:23 +0200
commita3cc9fcff84c4c8aaecda2420acd89a1418d57e9 (patch)
tree417fefbc96cdea1649186b483bab077c839a2f21 /include/net/irda
parentTTY: cyclades, add local pointer for card (diff)
downloadlinux-a3cc9fcff84c4c8aaecda2420acd89a1418d57e9.tar.xz
linux-a3cc9fcff84c4c8aaecda2420acd89a1418d57e9.zip
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')
-rw-r--r--include/net/irda/ircomm_tty.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h
index 59ba38bc400f..365fa6ec5298 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;