===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/video/i810/i810.h,v
retrieving revision 1.1.1.4
@@ -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 {
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/video/sis/sis_main.c,v
retrieving revision 1.1.1.4
@@ -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
@@ -2946,8 +2946,8 @@
#ifndef AGPOFF
if (sisfb_queuemode == AGP_CMD_QUEUE) {
- agp_info = vmalloc(sizeof(agp_kern_info));
- memset((void*)agp_info, 0x00, sizeof(agp_kern_info));
+ agp_info = vmalloc(sizeof(*agp_info));
+ memset((void*)agp_info, 0x00, sizeof(*agp_info));
agp_copy_info(agp_info);
agp_backend_acquire();