From f6094628f833b3729b3a067ab6a0b789316f50d7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 27 Feb 2013 22:24:49 +0000 Subject: Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/z80sim/src/z80_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/configs/z80sim') diff --git a/nuttx/configs/z80sim/src/z80_serial.c b/nuttx/configs/z80sim/src/z80_serial.c index 27d685093..e06ac96e7 100644 --- a/nuttx/configs/z80sim/src/z80_serial.c +++ b/nuttx/configs/z80sim/src/z80_serial.c @@ -87,7 +87,7 @@ static bool up_txempty(FAR struct uart_dev_s *dev); * Private Variables ****************************************************************************/ -struct uart_ops_s g_uart_ops = +static const struct uart_ops_s g_uart_ops = { up_setup, /* setup */ up_shutdown, /* shutdown */ -- cgit v1.2.3