summaryrefslogtreecommitdiff
path: root/src/console/logbuf_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/logbuf_console.c')
-rw-r--r--src/console/logbuf_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/logbuf_console.c b/src/console/logbuf_console.c
index 00185d383c..3b6c744503 100644
--- a/src/console/logbuf_console.c
+++ b/src/console/logbuf_console.c
@@ -13,7 +13,7 @@ static void logbuf_tx_byte(unsigned char byte)
logbuf_offset = (logbuf_offset +1) % LOGBUF_SIZE;
}
-static struct console_driver __console = {
+static const struct console_driver __console = {
.init = 0,
.tx_byte = logbuf_tx_byte,
.rx_byte = 0,