summaryrefslogtreecommitdiff
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-05-31 11:59:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-26 00:30:42 +0300
commit4ef03d328769eddbfeca1f1c958fdb181a69c341 (patch)
tree1c58890f0008714dc47780cd65d6323ced2dacf1 /include/linux/serial_8250.h
parent434be0ae7aa746f481c3a22139e472dbc3f4f817 (diff)
downloadlinux-4ef03d328769eddbfeca1f1c958fdb181a69c341.tar.xz
tty/serial/8250: use mctrl_gpio helpers
This patch permits the usage for GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI signals. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r--include/linux/serial_8250.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h
index 48ec7651989b..923266cd294a 100644
--- a/include/linux/serial_8250.h
+++ b/include/linux/serial_8250.h
@@ -111,6 +111,7 @@ struct uart_8250_port {
* if no_console_suspend
*/
unsigned char probe;
+ struct mctrl_gpios *gpios;
#define UART_PROBE_RSA (1 << 0)
/*