
From: Thomas Schlichter <thomas.schlichter@web.de>

the patch "serial-02-fixups.patch" introduced following compile error:

  CC [M]  drivers/char/sx.o
drivers/char/sx.c: In function `sx_tiocmset':
drivers/char/sx.c:1761: error: `dtr' undeclared (first use in this function)
drivers/char/sx.c:1761: error: (Each undeclared identifier is reported only=
=20
once
drivers/char/sx.c:1761: error: for each function it appears in.)
drivers/char/sx.c:1756: Warnung: unused variable `cts'




---

 drivers/char/sx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/sx.c~serial-02-fixes-fix-2 drivers/char/sx.c
--- 25/drivers/char/sx.c~serial-02-fixes-fix-2	2004-01-14 18:15:25.000000000 -0800
+++ 25-akpm/drivers/char/sx.c	2004-01-14 18:15:25.000000000 -0800
@@ -1753,7 +1753,7 @@ static int sx_tiocmset(struct tty_struct
 		       unsigned int set, unsigned int clear)
 {
 	struct sx_port *port = tty->driver_data;
-	int rts = -1, cts = -1;
+	int rts = -1, dtr = -1;
 
 	if (set & TIOCM_RTS)
 		rts = 1;

_
