diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/rfcomm/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index 1fb5d42f37ae..e0e0d09023b2 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c | |||
@@ -752,9 +752,9 @@ static int rfcomm_tty_ioctl(struct tty_struct *tty, struct file *filp, unsigned | |||
752 | return -ENOIOCTLCMD; | 752 | return -ENOIOCTLCMD; |
753 | } | 753 | } |
754 | 754 | ||
755 | static void rfcomm_tty_set_termios(struct tty_struct *tty, struct termios *old) | 755 | static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) |
756 | { | 756 | { |
757 | struct termios *new = (struct termios *) tty->termios; | 757 | struct ktermios *new = tty->termios; |
758 | int old_baud_rate = tty_termios_baud_rate(old); | 758 | int old_baud_rate = tty_termios_baud_rate(old); |
759 | int new_baud_rate = tty_termios_baud_rate(new); | 759 | int new_baud_rate = tty_termios_baud_rate(new); |
760 | 760 | ||