summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorEd Blake <ed.blake@imgtec.com>2016-11-10 18:07:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-16 10:59:38 +0100
commitdb405a8f8bf70daf57ed88808a2bf9c5fe308c70 (patch)
tree5cbc937fe6794752d0e2f4a4de119275c04cf41d /include/linux/serial_core.h
parent98838d95075a5295f3478ceba18bcccf472e30f4 (diff)
downloadlwn-db405a8f8bf70daf57ed88808a2bf9c5fe308c70.tar.gz
lwn-db405a8f8bf70daf57ed88808a2bf9c5fe308c70.zip
serial: 8250: Expose set_ldisc function
Expose set_ldisc() function so that it can be overridden with a platform specific implementation. Signed-off-by: Ed Blake <ed.blake@imgtec.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 344201437017..5d494888a612 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -123,6 +123,8 @@ struct uart_port {
void (*set_termios)(struct uart_port *,
struct ktermios *new,
struct ktermios *old);
+ void (*set_ldisc)(struct uart_port *,
+ struct ktermios *);
unsigned int (*get_mctrl)(struct uart_port *);
void (*set_mctrl)(struct uart_port *, unsigned int);
int (*startup)(struct uart_port *port);