]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
USBTTY make some function declarations easier to use.
authorTom Rix <Tom.Rix@windriver.com>
Sat, 31 Oct 2009 17:37:44 +0000 (12:37 -0500)
committerRemy Bohmer <linux@bohmer.net>
Sun, 20 Dec 2009 11:51:51 +0000 (12:51 +0100)
Zoom2 needs to use these declarations and the include directory is a
better place from them than in the middle of the driver directory.
It did not make sense to create a new file for just a couple of
lines so they were appended to the serial.h

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
include/serial.h

index bbda3f08c6001d6add64f7dfa8d1d882e5ab4eed..43451a30195753231649214018ddb46288890941 100644 (file)
@@ -66,4 +66,10 @@ extern void serial_stdio_init(void);
 extern int serial_assign(char * name);
 extern void serial_reinit_all(void);
 
+/* For usbtty */
+extern int usbtty_getc(void);
+extern void usbtty_putc(const char c);
+extern void usbtty_puts(const char *str);
+extern int usbtty_tstc(void);
+
 #endif