diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 07:35:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 18:50:23 -0400 |
commit | 849d5a997fe6a9e44401daed62a98121390ec0d3 (patch) | |
tree | 1dad7891098bbd111e48a124f1097c9297c20cac /include/net | |
parent | 580d27b449cb8f540bba1cc54066bb44f4e6242d (diff) |
TTY: ircomm, use flags from tty_port
Switch to tty_port->flags. And while at it, remove redefined flags for
them.
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')
-rw-r--r-- | include/net/irda/ircomm_tty.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index 5e94bad9262..e4db3b5f6e4 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h | |||
@@ -52,11 +52,6 @@ | |||
52 | /* Same for payload size. See qos.c for the smallest max data size */ | 52 | /* Same for payload size. See qos.c for the smallest max data size */ |
53 | #define IRCOMM_TTY_DATA_UNINITIALISED (64 - IRCOMM_TTY_HDR_UNINITIALISED) | 53 | #define IRCOMM_TTY_DATA_UNINITIALISED (64 - IRCOMM_TTY_HDR_UNINITIALISED) |
54 | 54 | ||
55 | /* Those are really defined in include/linux/serial.h - Jean II */ | ||
56 | #define ASYNC_B_INITIALIZED 31 /* Serial port was initialized */ | ||
57 | #define ASYNC_B_NORMAL_ACTIVE 29 /* Normal device is active */ | ||
58 | #define ASYNC_B_CLOSING 27 /* Serial port is closing */ | ||
59 | |||
60 | /* | 55 | /* |
61 | * IrCOMM TTY driver state | 56 | * IrCOMM TTY driver state |
62 | */ | 57 | */ |
@@ -81,7 +76,6 @@ struct ircomm_tty_cb { | |||
81 | LOCAL_FLOW flow; /* IrTTP flow status */ | 76 | LOCAL_FLOW flow; /* IrTTP flow status */ |
82 | 77 | ||
83 | int line; | 78 | int line; |
84 | unsigned long flags; | ||
85 | 79 | ||
86 | __u8 dlsap_sel; | 80 | __u8 dlsap_sel; |
87 | __u8 slsap_sel; | 81 | __u8 slsap_sel; |