aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_port.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tty_port.c')
-rw-r--r--drivers/char/tty_port.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c
index f54e40cbf023..0557b6384747 100644
--- a/drivers/char/tty_port.c
+++ b/drivers/char/tty_port.c
@@ -111,3 +111,19 @@ int tty_port_carrier_raised(struct tty_port *port)
111 return port->ops->carrier_raised(port); 111 return port->ops->carrier_raised(port);
112} 112}
113EXPORT_SYMBOL(tty_port_carrier_raised); 113EXPORT_SYMBOL(tty_port_carrier_raised);
114
115/**
116 * tty_port_raise_dtr_rts - Riase DTR/RTS
117 * @port: tty port
118 *
119 * Wrapper for the DTR/RTS raise logic. For the moment this is used
120 * to hide some internal details. This will eventually become entirely
121 * internal to the tty port.
122 */
123
124void tty_port_raise_dtr_rts(struct tty_port *port)
125{
126 if (port->ops->raise_dtr_rts)
127 port->ops->raise_dtr_rts(port);
128}
129EXPORT_SYMBOL(tty_port_raise_dtr_rts);