tty: make tty_operations::write()'s count size_t
[platform/kernel/linux-rpi.git] / drivers / mmc / core / sdio_uart.c
index 90d2fe0..ef38dcd 100644 (file)
@@ -760,7 +760,8 @@ static void sdio_uart_hangup(struct tty_struct *tty)
        tty_port_hangup(&port->port);
 }
 
-static int sdio_uart_write(struct tty_struct *tty, const u8 *buf, int count)
+static ssize_t sdio_uart_write(struct tty_struct *tty, const u8 *buf,
+                             size_t count)
 {
        struct sdio_uart_port *port = tty->driver_data;
        int ret;