From: ? <uns...@us...> - 2002-06-03 01:13:03
|
Update of /cvsroot/linux-vax/kernel-2.4/drivers/char In directory usw-pr-cvs1:/tmp/cvs-serv12544 Modified Files: sc26c94.h Log Message: Move gs_port to the top of sc26c94_chan. Otherwise generic_serial will crash, because it wants to cast a sc26c94_chan * to a gs_port *. Index: sc26c94.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/drivers/char/sc26c94.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sc26c94.h 29 May 2002 03:37:39 -0000 1.1 +++ sc26c94.h 3 Jun 2002 01:12:59 -0000 1.2 @@ -203,9 +203,9 @@ */ struct sc26c94_chan { + struct gs_port gs; /* MUST come first */ struct sc26c94 *quart; int channel; - struct gs_port gs; char xchar; }; |