forked from Imagelibrary/rtems
libcpu/arm/at91rm9200/usart/usart.c: Fix warnings
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* Driver for AT91RM9200 USART ports
|
* Driver for AT91RM9200 USART ports
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 2006-2009.
|
* COPYRIGHT (c) 2006-2009.
|
||||||
* NCB - Sistemas Embarcados Ltda. (Brazil)
|
* NCB - Sistemas Embarcados Ltda. (Brazil)
|
||||||
* Fernando Nicodemos <fgnicodemos@terra.com.br>
|
* Fernando Nicodemos <fgnicodemos@terra.com.br>
|
||||||
@@ -257,17 +259,3 @@ static int usart_set_attributes(int minor, const struct termios *t)
|
|||||||
usart->brgr = brgr;
|
usart->brgr = brgr;
|
||||||
return 0;
|
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);
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user