diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-27 22:24:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-27 22:24:49 +0000 |
commit | f6094628f833b3729b3a067ab6a0b789316f50d7 (patch) | |
tree | a7db67c725fa1138d539a4db2545455b567f17e9 /nuttx/arch/arm/src/dm320/dm320_serial.c | |
parent | 5d5fc5f3d4f24c903e4638099ebb1abc0a1c55f4 (diff) | |
download | px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.tar.gz px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.tar.bz2 px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.zip |
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
Diffstat (limited to 'nuttx/arch/arm/src/dm320/dm320_serial.c')
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/dm320/dm320_serial.c b/nuttx/arch/arm/src/dm320/dm320_serial.c index 15e4ecdf9..58ff1e710 100644 --- a/nuttx/arch/arm/src/dm320/dm320_serial.c +++ b/nuttx/arch/arm/src/dm320/dm320_serial.c @@ -104,7 +104,7 @@ static bool up_txempty(struct uart_dev_s *dev); * Private Variables ****************************************************************************/ -struct uart_ops_s g_uart_ops = +static const struct uart_ops_s g_uart_ops = { .setup = up_setup, .shutdown = up_shutdown, |