diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-24 14:42:12 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-24 14:42:12 +0000 |
commit | bf873e4ae3e95e92c829cfec1d1efacbd25ba7ea (patch) | |
tree | 52ff4ec15a4715ec4d8dd7810beb595192c0fc55 /src/console | |
parent | 50542a884b13e47b28b97147def60617267ff8ff (diff) | |
download | coreboot-staging-bf873e4ae3e95e92c829cfec1d1efacbd25ba7ea.zip coreboot-staging-bf873e4ae3e95e92c829cfec1d1efacbd25ba7ea.tar.gz |
Another CONSTification...
(trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2895 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/btext_console.c | 2 | ||||
-rw-r--r-- | src/console/logbuf_console.c | 2 | ||||
-rw-r--r-- | src/console/uart8250_console.c | 2 | ||||
-rw-r--r-- | src/console/usbdebug_direct_console.c | 2 | ||||
-rw-r--r-- | src/console/vga_console.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/console/btext_console.c b/src/console/btext_console.c index ae8dc8c..bf2c555 100644 --- a/src/console/btext_console.c +++ b/src/console/btext_console.c @@ -445,7 +445,7 @@ void btext_tx_byte(unsigned char data) btext_drawchar(data); } -static struct console_driver btext_console __console = { +static const struct console_driver btext_console __console = { .init = btext_init, .tx_byte = btext_tx_byte, .rx_byte = 0, diff --git a/src/console/logbuf_console.c b/src/console/logbuf_console.c index 00185d3..3b6c744 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, diff --git a/src/console/uart8250_console.c b/src/console/uart8250_console.c index e664235..37364e7 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, diff --git a/src/console/usbdebug_direct_console.c b/src/console/usbdebug_direct_console.c index 172d5c8..18fe6dc 100644 --- a/src/console/usbdebug_direct_console.c +++ b/src/console/usbdebug_direct_console.c @@ -49,7 +49,7 @@ static int dbgp_tst_byte(void) return dbg_info.ehci_debug; } -static struct console_driver usbdebug_direct_console __console = { +static const struct console_driver usbdebug_direct_console __console = { .init = dbgp_init, .tx_byte = dbgp_tx_byte, .rx_byte = dbgp_rx_byte, diff --git a/src/console/vga_console.c b/src/console/vga_console.c index e9756c8..a93e2a3 100644 --- a/src/console/vga_console.c +++ b/src/console/vga_console.c @@ -106,7 +106,7 @@ static void vga_tx_byte(unsigned char byte) write_crtc((vga_col + (vga_line *COLS)) & 0x0ff, CRTC_CURSOR_LO); } -static struct console_driver vga_console __console ={ +static const struct console_driver vga_console __console ={ .init = 0, .tx_byte = vga_tx_byte, .rx_byte = 0, |