aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-05-31 10:59:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 14:30:42 -0700
commit4ef03d328769eddbfeca1f1c958fdb181a69c341 (patch)
tree1c58890f0008714dc47780cd65d6323ced2dacf1 /include/linux/serial_8250.h
parentserial: mctrl_gpio: enable API usage only for initialized mctrl_gpios struct (diff)
downloadlinux-dev-4ef03d328769eddbfeca1f1c958fdb181a69c341.tar.xz
linux-dev-4ef03d328769eddbfeca1f1c958fdb181a69c341.zip
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)
/*