libchip/serial: Add const qualifier

This commit is contained in:
Sebastian Huber
2013-02-08 13:39:59 +01:00
parent e4933743ef
commit c8bd3cda93
38 changed files with 64 additions and 64 deletions

View File

@@ -893,7 +893,7 @@ MG5UART_STATIC void mg5uart_enable_interrupts(
* Flow control is only supported when using interrupts
*/
console_fns mg5uart_fns =
const console_fns mg5uart_fns =
{
libchip_serial_default_probe, /* deviceProbe */
mg5uart_open, /* deviceFirstOpen */
@@ -906,7 +906,7 @@ console_fns mg5uart_fns =
TRUE /* deviceOutputUsesInterrupts */
};
console_fns mg5uart_fns_polled =
const console_fns mg5uart_fns_polled =
{
libchip_serial_default_probe, /* deviceProbe */
mg5uart_open, /* deviceFirstOpen */

View File

@@ -73,8 +73,8 @@ extern "C" {
* Driver function table
*/
extern console_fns mg5uart_fns;
extern console_fns mg5uart_fns_polled;
extern const console_fns mg5uart_fns;
extern const console_fns mg5uart_fns_polled;
/*
* Default register access routines