diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-09 15:35:10 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-10 10:17:33 -0500 |
commit | ef4c4612e2c21feae24c0ea47a83942cbcebc465 (patch) | |
tree | a5415da86f64e02c33a54c9da7dcf134762c0be1 /c/src/libchip/serial | |
parent | powerpc/ep1a: Remove if 0 sections (diff) | |
download | rtems-ef4c4612e2c21feae24c0ea47a83942cbcebc465.tar.bz2 |
arm/nds: Warning clean up
This patch eliminates most of the warnings in this BSP but attempts
very little clean up. This BSP includes copies of a lot of code
from free NDS libraries and modifications should be kept to a minimum.
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/serial/ns16550.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c index b0aa38ff92..2c3bc9496e 100644 --- a/c/src/libchip/serial/ns16550.c +++ b/c/src/libchip/serial/ns16550.c @@ -132,7 +132,9 @@ NS16550_STATIC int ns16550_set_attributes( const struct termios *t ); -NS16550_STATIC void ns16550_isr(void *arg); +#if defined(BSP_FEATURE_IRQ_EXTENSION) || defined(BSP_FEATURE_IRQ_LEGACY) + NS16550_STATIC void ns16550_isr(void *arg); +#endif static rtems_interrupt_lock ns16550_lock = RTEMS_INTERRUPT_LOCK_INITIALIZER("NS16550"); |