summaryrefslogtreecommitdiffstats
path: root/include/linux/isdn.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-02 13:53:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 11:16:54 -0700
commit48decc1c743fa4eb5ba5dd3f556e7fcbefe65440 (patch)
treee187f0d295549a39e96e004d5215ac8ab180c8b2 /include/linux/isdn.h
parented722ead61e3776cbcda3805bb872ff2b856d3b9 (diff)
downloadlinux-stable-48decc1c743fa4eb5ba5dd3f556e7fcbefe65440.tar.gz
linux-stable-48decc1c743fa4eb5ba5dd3f556e7fcbefe65440.tar.bz2
linux-stable-48decc1c743fa4eb5ba5dd3f556e7fcbefe65440.zip
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/linux/isdn.h')
-rw-r--r--include/linux/isdn.h3
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 @@
#define __ISDN_H__
#include <linux/ioctl.h>
+#include <linux/tty.h>
#define ISDN_MAX_DRIVERS 32
#define ISDN_MAX_CHANNELS 64
@@ -435,7 +436,7 @@ typedef struct atemu {
/* Private data (similar to async_struct in <linux/serial.h>) */
typedef struct modem_info {
int magic;
- int flags; /* defined in tty.h */
+ struct tty_port port;
int x_char; /* xon/xoff character */
int mcr; /* Modem control register */
int msr; /* Modem status register */