linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 3/3] UML - fix ->set_termios declaration
@ 2006-10-30 21:03 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-10-30 21:03 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

The 'old' argument of tty_operations->set_termios changed from struct
termios to struct ktermios.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.18-mm/arch/um/drivers/line.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/drivers/line.c	2006-10-30 12:57:27.000000000 -0500
+++ linux-2.6.18-mm/arch/um/drivers/line.c	2006-10-30 12:59:16.000000000 -0500
@@ -246,7 +246,7 @@ out_up:
 	return ret;
 }
 
-void line_set_termios(struct tty_struct *tty, struct termios * old)
+void line_set_termios(struct tty_struct *tty, struct ktermios * old)
 {
 	/* nothing */
 }
Index: linux-2.6.18-mm/arch/um/include/line.h
===================================================================
--- linux-2.6.18-mm.orig/arch/um/include/line.h	2006-10-30 12:57:26.000000000 -0500
+++ linux-2.6.18-mm/arch/um/include/line.h	2006-10-30 12:59:16.000000000 -0500
@@ -76,7 +76,7 @@ extern int line_setup(struct line *lines
 extern int line_write(struct tty_struct *tty, const unsigned char *buf,
 		      int len);
 extern void line_put_char(struct tty_struct *tty, unsigned char ch);
-extern void line_set_termios(struct tty_struct *tty, struct termios * old);
+extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
 extern int line_chars_in_buffer(struct tty_struct *tty);
 extern void line_flush_buffer(struct tty_struct *tty);
 extern void line_flush_chars(struct tty_struct *tty);


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-30 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 21:03 [uml-devel] [PATCH 3/3] UML - fix ->set_termios declaration Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox