summaryrefslogtreecommitdiff
path: root/src/include/console/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console/console.h')
-rw-r--r--src/include/console/console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index aeb5895587..5d31dd1296 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -10,7 +10,7 @@ void console_tx_flush(void);
unsigned char console_rx_byte(void);
int console_tst_byte(void);
void post_code(uint8_t value);
-void die(char *msg);
+void die(const char *msg);
struct console_driver {
void (*init)(void);
@@ -20,7 +20,7 @@ struct console_driver {
int (*tst_byte)(void);
};
-#define __console __attribute__((unused, __section__ (".rodata.console_drivers")))
+#define __console __attribute__((used, __section__ (".rodata.console_drivers")))
/* Defined by the linker... */
extern struct console_driver console_drivers[];