]> err.no Git - linux-2.6/commitdiff
sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()
authorAndre Haupt <andre@bitwigglers.org>
Wed, 21 Nov 2007 11:33:45 +0000 (12:33 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Thu, 29 Nov 2007 18:10:30 +0000 (19:10 +0100)
This also fixes a sparse warning about different signedness.
Only compile tested, because i do not have the hardware.

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/card/sdio_uart.c

index d552de6831108cac25d7981a0e608940eb5cad3d..eeea84c309e691c8a7c838b527b95c7ce50c296c 100644 (file)
@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port)
        sdio_out(port, UART_IER, port->ier);
 }
 
-static void sdio_uart_receive_chars(struct sdio_uart_port *port, int *status)
+static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *status)
 {
        struct tty_struct *tty = port->tty;
        unsigned int ch, flag;