summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAndre Haupt2007-11-21 12:33:45 +0100
committerPierre Ossman2007-11-29 19:10:30 +0100
commita960d5dc71102d33f257cbc26d87b15015586672 (patch)
tree7a38a5864ae5ac3a22f2ba3fd41d6c459e9b25fa /drivers/mmc
parentprep_zero_page: remove bogus BUG_ON (diff)
downloadkernel-qcow2-linux-a960d5dc71102d33f257cbc26d87b15015586672.tar.gz
kernel-qcow2-linux-a960d5dc71102d33f257cbc26d87b15015586672.tar.xz
kernel-qcow2-linux-a960d5dc71102d33f257cbc26d87b15015586672.zip
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>
Diffstat (limited to 'drivers/mmc')
-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;