Skip to content

Commit

Permalink
sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andre Haupt authored and Pierre Ossman committed Nov 29, 2007
1 parent 09f345d commit a960d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/card/sdio_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a960d5d

Please sign in to comment.