diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 07:53:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 14:16:54 -0400 |
commit | 48decc1c743fa4eb5ba5dd3f556e7fcbefe65440 (patch) | |
tree | e187f0d295549a39e96e004d5215ac8ab180c8b2 /include | |
parent | ed722ead61e3776cbcda3805bb872ff2b856d3b9 (diff) |
TTY: isdn, add tty_port
And use tty_port->flags now. Other members will follow.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/isdn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 63af3208004f..bb710414f275 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #define __ISDN_H__ | 15 | #define __ISDN_H__ |
16 | 16 | ||
17 | #include <linux/ioctl.h> | 17 | #include <linux/ioctl.h> |
18 | #include <linux/tty.h> | ||
18 | 19 | ||
19 | #define ISDN_MAX_DRIVERS 32 | 20 | #define ISDN_MAX_DRIVERS 32 |
20 | #define ISDN_MAX_CHANNELS 64 | 21 | #define ISDN_MAX_CHANNELS 64 |
@@ -435,7 +436,7 @@ typedef struct atemu { | |||
435 | /* Private data (similar to async_struct in <linux/serial.h>) */ | 436 | /* Private data (similar to async_struct in <linux/serial.h>) */ |
436 | typedef struct modem_info { | 437 | typedef struct modem_info { |
437 | int magic; | 438 | int magic; |
438 | int flags; /* defined in tty.h */ | 439 | struct tty_port port; |
439 | int x_char; /* xon/xoff character */ | 440 | int x_char; /* xon/xoff character */ |
440 | int mcr; /* Modem control register */ | 441 | int mcr; /* Modem control register */ |
441 | int msr; /* Modem status register */ | 442 | int msr; /* Modem status register */ |