Author: stepan Date: 2007-10-24 16:42:12 +0200 (Wed, 24 Oct 2007) New Revision: 2895
Modified: trunk/LinuxBIOSv2/src/console/btext_console.c trunk/LinuxBIOSv2/src/console/logbuf_console.c trunk/LinuxBIOSv2/src/console/uart8250_console.c trunk/LinuxBIOSv2/src/console/usbdebug_direct_console.c trunk/LinuxBIOSv2/src/console/vga_console.c Log: Another CONSTification... (trivial)
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/LinuxBIOSv2/src/console/btext_console.c =================================================================== --- trunk/LinuxBIOSv2/src/console/btext_console.c 2007-10-24 11:14:14 UTC (rev 2894) +++ trunk/LinuxBIOSv2/src/console/btext_console.c 2007-10-24 14:42:12 UTC (rev 2895) @@ -445,7 +445,7 @@ 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,
Modified: trunk/LinuxBIOSv2/src/console/logbuf_console.c =================================================================== --- trunk/LinuxBIOSv2/src/console/logbuf_console.c 2007-10-24 11:14:14 UTC (rev 2894) +++ trunk/LinuxBIOSv2/src/console/logbuf_console.c 2007-10-24 14:42:12 UTC (rev 2895) @@ -13,7 +13,7 @@ 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,
Modified: trunk/LinuxBIOSv2/src/console/uart8250_console.c =================================================================== --- trunk/LinuxBIOSv2/src/console/uart8250_console.c 2007-10-24 11:14:14 UTC (rev 2894) +++ trunk/LinuxBIOSv2/src/console/uart8250_console.c 2007-10-24 14:42:12 UTC (rev 2895) @@ -53,7 +53,7 @@ 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,
Modified: trunk/LinuxBIOSv2/src/console/usbdebug_direct_console.c =================================================================== --- trunk/LinuxBIOSv2/src/console/usbdebug_direct_console.c 2007-10-24 11:14:14 UTC (rev 2894) +++ trunk/LinuxBIOSv2/src/console/usbdebug_direct_console.c 2007-10-24 14:42:12 UTC (rev 2895) @@ -49,7 +49,7 @@ 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,
Modified: trunk/LinuxBIOSv2/src/console/vga_console.c =================================================================== --- trunk/LinuxBIOSv2/src/console/vga_console.c 2007-10-24 11:14:14 UTC (rev 2894) +++ trunk/LinuxBIOSv2/src/console/vga_console.c 2007-10-24 14:42:12 UTC (rev 2895) @@ -106,7 +106,7 @@ 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,