summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/btext.c2
-rw-r--r--src/core/pc_kbd.c2
-rw-r--r--src/core/serial.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/btext.c b/src/core/btext.c
index da6c029b..43accc47 100644
--- a/src/core/btext.c
+++ b/src/core/btext.c
@@ -434,7 +434,7 @@ static void btext_putc(int c)
btext_drawchar((unsigned char)c);
}
-static struct console_driver btext_console __console_driver = {
+struct console_driver btext_console __console_driver = {
.putchar = btext_putc,
.disabled = 1,
};
diff --git a/src/core/pc_kbd.c b/src/core/pc_kbd.c
index 84a3c640..d43357fe 100644
--- a/src/core/pc_kbd.c
+++ b/src/core/pc_kbd.c
@@ -107,6 +107,6 @@ static int kbd_getc(void)
return c;
}
-static struct console_driver pc_kbd_console __console_driver = {
+struct console_driver pc_kbd_console __console_driver = {
.getchar = kbd_getc,
};
diff --git a/src/core/serial.c b/src/core/serial.c
index 29be2216..802b32a7 100644
--- a/src/core/serial.c
+++ b/src/core/serial.c
@@ -91,7 +91,7 @@
#define uart_writeb(val,addr) outb((val),(addr))
#endif
-static struct console_driver serial_console;
+struct console_driver serial_console;
/*
* void serial_putc(int ch);
@@ -229,7 +229,7 @@ static void serial_fini ( void ) {
/* Don't mark it as disabled; it's still usable */
}
-static struct console_driver serial_console __console_driver = {
+struct console_driver serial_console __console_driver = {
.putchar = serial_putc,
.getchar = serial_getc,
.iskey = serial_ischar,