char: switch gs, cyclades and esp to return int for put_char
Signed-off-by: Alan Cox <alan@redhat.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -78,7 +78,7 @@ struct gs_port {
|
||||
#define GS_DEBUG_WRITE 0x00000040
|
||||
|
||||
#ifdef __KERNEL__
|
||||
void gs_put_char(struct tty_struct *tty, unsigned char ch);
|
||||
int gs_put_char(struct tty_struct *tty, unsigned char ch);
|
||||
int gs_write(struct tty_struct *tty,
|
||||
const unsigned char *buf, int count);
|
||||
int gs_write_room(struct tty_struct *tty);
|
||||
|
Reference in New Issue
Block a user