mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
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>
This commit is contained in:
parent
98838d9507
commit
db405a8f8b
4 changed files with 19 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue