summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-14 16:51:49 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-16 08:58:48 -0500
commit4af55a83f10e676b95dd55955dd1760b843c590e (patch)
tree010e268c31ad211d8e5301512cb85ba5963c5940
parentc/src/lib/libbsp/arm/rtl22xx/console/uart.c (diff)
downloadrtems-4af55a83f10e676b95dd55955dd1760b843c590e.tar.bz2
libcpu/arm/at91rm9200/usart/usart.c: Fix warnings
-rw-r--r--c/src/lib/libcpu/arm/at91rm9200/usart/usart.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c b/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c
index 57d1d9932e..c552899126 100644
--- a/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c
+++ b/c/src/lib/libcpu/arm/at91rm9200/usart/usart.c
@@ -1,6 +1,8 @@
/*
* Driver for AT91RM9200 USART ports
- *
+ */
+
+/*
* COPYRIGHT (c) 2006-2009.
* NCB - Sistemas Embarcados Ltda. (Brazil)
* Fernando Nicodemos <fgnicodemos@terra.com.br>
@@ -257,17 +259,3 @@ static int usart_set_attributes(int minor, const struct termios *t)
usart->brgr = brgr;
return 0;
}
-
-/*
- * The following functions are not used by TERMIOS, but other RTEMS
- * functions use them instead.
- */
-
-/*
- * Read from UART. This is used in the exit code, and can't
- * rely on interrupts.
- */
-int usart_poll_read(int minor)
-{
- return usart_read_polled(minor);
-}