2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>

* console/uart.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2010-04-26 02:33:57 +00:00
parent af3fd0c616
commit 5d44c8590b
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/uart.c: Fix warnings.
2010-04-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* Makefile.am, startup/bspstart.c: make irq data types consistent,
+2 -2
View File
@@ -40,7 +40,7 @@ int dbg_dly;
static int uart_first_open(int major, int minor, void *arg);
static int uart_last_close(int major, int minor, void *arg);
static int uart_read(int minor);
static int uart_write(int minor, const char *buf, int len);
static ssize_t uart_write(int minor, const char *buf, size_t len);
static void uart_init(int minor);
static void uart_write_polled(int minor, char c);
static int uart_set_attributes(int minor, const struct termios *t);
@@ -153,7 +153,7 @@ static int uart_read(int minor)
*
* return 1 on success, -1 on error
*/
static int uart_write(int minor, const char *buf, int len)
static ssize_t uart_write(int minor, const char *buf, size_t len)
{
int i;