tty: make tty_operations::send_xchar accept u8 char
[linux-2.6-block.git] / drivers / tty / tty_io.c
index 005d91c63707224c0d0249a6167a39d6bb04b5f2..6a502110da619f1c53b6a427980804832ed49beb 100644 (file)
@@ -1149,7 +1149,7 @@ ssize_t redirected_tty_write(struct kiocb *iocb, struct iov_iter *iter)
  *
  * Locking: none for xchar method, write ordering for write method.
  */
-int tty_send_xchar(struct tty_struct *tty, char ch)
+int tty_send_xchar(struct tty_struct *tty, u8 ch)
 {
        bool was_stopped = tty->flow.stopped;