From: Martin Peschke Changing the type of the termios parameter to conform with struct tty_operations. This is trivial as tty3270_set_termios doesn't use it. CC drivers/s390/char/tty3270.o drivers/s390/char/tty3270.c:1755: warning: initialization from incompatible pointer type Signed-off-by: Martin Peschke Cc: Alan Cox Signed-off-by: Andrew Morton --- drivers/s390/char/tty3270.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/s390/char/tty3270.c~tty-switch-to-ktermios-3270-fix drivers/s390/char/tty3270.c --- a/drivers/s390/char/tty3270.c~tty-switch-to-ktermios-3270-fix +++ a/drivers/s390/char/tty3270.c @@ -1659,7 +1659,7 @@ tty3270_flush_buffer(struct tty_struct * * Check for visible/invisible input switches */ static void -tty3270_set_termios(struct tty_struct *tty, struct termios *old) +tty3270_set_termios(struct tty_struct *tty, struct ktermios *old) { struct tty3270 *tp; int new; _