summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Haupt <andre@bitwigglers.org>2007-11-21 12:33:45 +0100
committerPierre Ossman <drzeus@drzeus.cx>2007-11-29 19:10:30 +0100
commita960d5dc71102d33f257cbc26d87b15015586672 (patch)
tree7a38a5864ae5ac3a22f2ba3fd41d6c459e9b25fa
parent09f345da758fca1222b0971b65b2fddbdf78bb83 (diff)
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 <andre@bitwigglers.org> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
-rw-r--r--drivers/mmc/card/sdio_uart.c2
1 files changed, 1 insertions, 1 deletions
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;