Re: 2.5.70-bk1 compilation error

From: YOSHIFUJI Hideaki / 吉藤英明 (yoshfuji@wide.ad.jp)
Date: Tue May 27 2003 - 13:04:59 EST


In article <Pine.GSO.4.53.0305271949510.10781@xxxxxxxxxxxxxxxx> (at Tue, 27 May 2003 19:55:42 +0300 (EET DST)), Siim Vahtre <siim@xxxxxxxxxx> says:

> CC [M] drivers/video/i810/i810_main.o
> In file included from drivers/video/i810/i810_main.c:56:
> drivers/video/i810/i810.h:206: error: parse error before "agp_memory"

Index: linux25-LINUS/drivers/video/i810/i810.h
===================================================================
RCS file: /cvsroot/usagi/usagi-backport/linux25/drivers/video/i810/i810.h,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 i810.h
--- linux25-LINUS/drivers/video/i810/i810.h 17 Apr 2003 18:13:36 -0000 1.1.1.4
+++ linux25-LINUS/drivers/video/i810/i810.h 27 May 2003 17:48:49 -0000
@@ -203,8 +203,8 @@
#define LOCKUP 8

struct gtt_data {
- agp_memory *i810_fb_memory;
- agp_memory *i810_cursor_memory;
+ struct agp_memory *i810_fb_memory;
+ struct agp_memory *i810_cursor_memory;
};

struct mode_registers {
Index: linux25-LINUS/drivers/video/sis/sis_main.c
===================================================================
RCS file: /cvsroot/usagi/usagi-backport/linux25/drivers/video/sis/sis_main.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 sis_main.c
--- linux25-LINUS/drivers/video/sis/sis_main.c 6 May 2003 12:43:02 -0000 1.1.1.4
+++ linux25-LINUS/drivers/video/sis/sis_main.c 27 May 2003 17:48:50 -0000
@@ -2868,8 +2868,8 @@
unsigned long *write_port = 0;
SIS_CMDTYPE cmd_type;
#ifndef AGPOFF
- agp_kern_info *agp_info;
- agp_memory *agp;
+ struct agp_kern_info *agp_info;
+ struct agp_memory *agp;
u32 agp_phys;
#endif
#endif

--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/