diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-08 13:39:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-11 14:44:46 +0100 |
commit | c8bd3cda93526c6662d4ef7715dbb8823826ccae (patch) | |
tree | bcff841f39ef5e09bb6156b9ad6219910bbaeacc /c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c | |
parent | libchip/serial: Fix warnings (diff) | |
download | rtems-c8bd3cda93526c6662d4ef7715dbb8823826ccae.tar.bz2 |
libchip/serial: Add const qualifier
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c index 51ecacdc49..00e5e7921e 100644 --- a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c +++ b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c @@ -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 */ |