summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/earlycon-riscv-sbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/earlycon-riscv-sbi.c')
-rw-r--r--drivers/tty/serial/earlycon-riscv-sbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/earlycon-riscv-sbi.c b/drivers/tty/serial/earlycon-riscv-sbi.c
index ce81523c3113..27afb0b74ea7 100644
--- a/drivers/tty/serial/earlycon-riscv-sbi.c
+++ b/drivers/tty/serial/earlycon-riscv-sbi.c
@@ -10,7 +10,7 @@
#include <linux/serial_core.h>
#include <asm/sbi.h>
-static void sbi_putc(struct uart_port *port, int c)
+static void sbi_putc(struct uart_port *port, unsigned char c)
{
sbi_console_putchar(c);
}