|
@@ -536,7 +536,7 @@ EXPORT_SYMBOL(tty_termios_hw_change);
|
|
|
* Locking: termios_rwsem
|
|
|
*/
|
|
|
|
|
|
-static int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios)
|
|
|
+int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios)
|
|
|
{
|
|
|
struct ktermios old_termios;
|
|
|
struct tty_ldisc *ld;
|
|
@@ -569,6 +569,7 @@ static int tty_set_termios(struct tty_struct *tty, struct ktermios *new_termios)
|
|
|
up_write(&tty->termios_rwsem);
|
|
|
return 0;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(tty_set_termios);
|
|
|
|
|
|
/**
|
|
|
* set_termios - set termios values for a tty
|