From: y at windriver.com Date: Mon, 28 Sep 2009 11:35:02 -0500 Subject: [U-Boot] [PATCH 7/8] USBTTY make some function declarations easier to use. In-Reply-To: <1254155703-22154-7-git-send-email-y> References: <1254155703-22154-1-git-send-email-y> <1254155703-22154-2-git-send-email-y> <1254155703-22154-3-git-send-email-y> <1254155703-22154-4-git-send-email-y> <1254155703-22154-5-git-send-email-y> <1254155703-22154-6-git-send-email-y> <1254155703-22154-7-git-send-email-y> Message-ID: <1254155703-22154-8-git-send-email-y> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Tom Rix 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 --- include/serial.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/serial.h b/include/serial.h index 821b583..2c150ff 100644 --- a/include/serial.h +++ b/include/serial.h @@ -59,4 +59,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 -- 1.6.0.6