From: Andre Haupt Date: Wed, 21 Nov 2007 11:33:45 +0000 (+0100) Subject: sdio_uart: fix sign of paramter status in sdio_uart_receive_chars() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a960d5dc71102d33f257cbc26d87b15015586672;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git sdio_uart: fix sign of paramter status in sdio_uart_receive_chars() This also fixes a sparse warning about different signedness. Only compile tested, because i do not have the hardware. Signed-off-by: Andre Haupt Acked-by: Nicolas Pitre Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c index d552de683110..eeea84c309e6 100644 --- a/drivers/mmc/card/sdio_uart.c +++ b/drivers/mmc/card/sdio_uart.c @@ -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;