summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/imx_earlycon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/imx_earlycon.c')
-rw-r--r--drivers/tty/serial/imx_earlycon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx_earlycon.c b/drivers/tty/serial/imx_earlycon.c
index 795606e1a22f..7aab38b2bd8c 100644
--- a/drivers/tty/serial/imx_earlycon.c
+++ b/drivers/tty/serial/imx_earlycon.c
@@ -16,7 +16,7 @@
#define UTS_TXFULL (1<<4) /* TxFIFO full */
#define IMX21_UTS 0xb4 /* UART Test Register on all other i.mx*/
-static void imx_uart_console_early_putchar(struct uart_port *port, int ch)
+static void imx_uart_console_early_putchar(struct uart_port *port, unsigned char ch)
{
while (readl_relaxed(port->membase + IMX21_UTS) & UTS_TXFULL)
cpu_relax();