summaryrefslogtreecommitdiff
path: root/src/console/uart8250_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/uart8250_console.c')
-rw-r--r--src/console/uart8250_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/uart8250_console.c b/src/console/uart8250_console.c
index e6642350d7..37364e710d 100644
--- a/src/console/uart8250_console.c
+++ b/src/console/uart8250_console.c
@@ -53,7 +53,7 @@ static int ttyS0_tst_byte(void)
return uart8250_can_rx_byte(TTYS0_BASE);
}
-static struct console_driver uart8250_console __console = {
+static const struct console_driver uart8250_console __console = {
.init = ttyS0_init,
.tx_byte = ttyS0_tx_byte,
.rx_byte = ttyS0_rx_byte,